aboutsummaryrefslogtreecommitdiffstats
path: root/asm/jo_r_lowbat.asm
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-04-17 18:16:54 +0200
committerJozanLeClerc <bousset.rudy@gmail.com>2020-04-17 18:16:54 +0200
commit3d61f333252d4f569068f48cfad896fdc9cc15e8 (patch)
treeeac82c30e6b3c9e56a8022ea756dd006cfe84c46 /asm/jo_r_lowbat.asm
parentStill bus error, it's not willing to print (diff)
downloadlowbat-bsd-3d61f333252d4f569068f48cfad896fdc9cc15e8.tar.gz
lowbat-bsd-3d61f333252d4f569068f48cfad896fdc9cc15e8.tar.bz2
lowbat-bsd-3d61f333252d4f569068f48cfad896fdc9cc15e8.tar.xz
lowbat-bsd-3d61f333252d4f569068f48cfad896fdc9cc15e8.tar.zst
lowbat-bsd-3d61f333252d4f569068f48cfad896fdc9cc15e8.zip
aaaaaaaaa ok
Diffstat (limited to 'asm/jo_r_lowbat.asm')
-rw-r--r--asm/jo_r_lowbat.asm10
1 files changed, 5 insertions, 5 deletions
diff --git a/asm/jo_r_lowbat.asm b/asm/jo_r_lowbat.asm
index 5c9b2b7..9753a12 100644
--- a/asm/jo_r_lowbat.asm
+++ b/asm/jo_r_lowbat.asm
@@ -18,7 +18,7 @@
;; c: check
section .text
- extern printf
+ extern puts
extern jo_n_speak
extern jo_c_args
global jo_r_lowbat
@@ -38,13 +38,13 @@ jo_r_lowbat:
joprint:
push rdi
push rsi
- mov rdi, fmt
- mov rsi, rax
- call printf
+ ;; mov rdi, fmt
+ mov rdi, rax
+ call puts
pop rsi
pop rdi
retq
section .data
msg: db "Welcome back, partner!", 0x0
- fmt: db "argv[2]: %s\n", 0x0
+ ;; fmt: db "argv[2]: %s\n", 0x0