aboutsummaryrefslogtreecommitdiffstats
path: root/asm/r_cpyhead.asm
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2021-02-10 19:23:46 +0100
committerJozanLeClerc <bousset.rudy@gmail.com>2021-02-10 19:23:46 +0100
commit22ee11fbb77b4c81e41832996ce216d790c2b0aa (patch)
treeab373538026588249f1f2b79869cd93f940b47f3 /asm/r_cpyhead.asm
parentTranslating, added rc script (diff)
downloadlowbat-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.asm29
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