diff options
Diffstat (limited to 'asm/r_cpyhead.asm')
-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 |