aboutsummaryrefslogtreecommitdiffstats
path: root/asm
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-04-18 15:20:23 +0200
committerJozanLeClerc <bousset.rudy@gmail.com>2020-04-18 15:20:23 +0200
commit34f348f45b3c113433176e7553b5074aad1d5c37 (patch)
tree7835030da8cc166304907f77785020e003162ac4 /asm
parentNot working (diff)
downloadlowbat-bsd-34f348f45b3c113433176e7553b5074aad1d5c37.tar.gz
lowbat-bsd-34f348f45b3c113433176e7553b5074aad1d5c37.tar.bz2
lowbat-bsd-34f348f45b3c113433176e7553b5074aad1d5c37.tar.xz
lowbat-bsd-34f348f45b3c113433176e7553b5074aad1d5c37.tar.zst
lowbat-bsd-34f348f45b3c113433176e7553b5074aad1d5c37.zip
eSpeak is the problem
Diffstat (limited to 'asm')
-rw-r--r--asm/jo_r_loop.asm17
1 files changed, 6 insertions, 11 deletions
diff --git a/asm/jo_r_loop.asm b/asm/jo_r_loop.asm
index 6264cf1..a8b41e0 100644
--- a/asm/jo_r_loop.asm
+++ b/asm/jo_r_loop.asm
@@ -14,26 +14,21 @@
;; -------------------------------
section .text
- extern puts
extern jo_n_speak
+ extern jo_n_notify
global jo_r_loop
jo_r_loop:
- push rcx
+ push rbp
push rbx
mov rbx, rsi
- mov rcx, rdi
+ mov ebp, edi
speak1:
- cmp rcx, 0x1
- jne speak1
+ ;; cmp edx, 1
+ ;; jne speak1
mov rdi, [rbx + 8 * 2]
call jo_n_speak
- pop rcx
- push rdi
- mov rdi, message
- call puts
- pop rdi
jmp speak1
return:
@@ -41,4 +36,4 @@ return:
retq
section .data
- message: db "qwe", 0x0
+ msg: db "qwe", 0x0