diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2021-02-10 19:23:46 +0100 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2021-02-10 19:23:46 +0100 |
commit | 22ee11fbb77b4c81e41832996ce216d790c2b0aa (patch) | |
tree | ab373538026588249f1f2b79869cd93f940b47f3 /asm/r_cpyhead.asm | |
parent | Translating, added rc script (diff) | |
download | lowbat-bsd-22ee11fbb77b4c81e41832996ce216d790c2b0aa.tar.gz lowbat-bsd-22ee11fbb77b4c81e41832996ce216d790c2b0aa.tar.bz2 lowbat-bsd-22ee11fbb77b4c81e41832996ce216d790c2b0aa.tar.xz lowbat-bsd-22ee11fbb77b4c81e41832996ce216d790c2b0aa.tar.zst lowbat-bsd-22ee11fbb77b4c81e41832996ce216d790c2b0aa.zip |
Comments update
Diffstat (limited to '')
-rw-r--r-- | asm/r_cpyhead.asm | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/asm/r_cpyhead.asm b/asm/r_cpyhead.asm deleted file mode 100644 index 2e40877..0000000 --- a/asm/r_cpyhead.asm +++ /dev/null @@ -1,29 +0,0 @@ -/****************************************************************************************/ -/* */ -/* File : r_cpyhead.asm /_________/ */ -/* Author : Joe | */ -/* Date : 04/2020 | */ -/* Info : Formats and returns notification head title | */ -/* / | */ -/* \ / */ -/* \_____/ */ -/* */ -/****************************************************************************************/ - -.text -.extern sprintf -.globl r_cpyhead - -r_cpyhead: - movq $buff, %rdi - movq $n_head, %rsi - xorq %rax, %rax - callq sprintf - movq $buff, %rax - retq - -.data - n_head: .asciz "Low battery: %d%%" - -.bss - buff: .zero 0x11 |