diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2020-04-18 15:20:23 +0200 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2020-04-18 15:20:23 +0200 |
commit | 34f348f45b3c113433176e7553b5074aad1d5c37 (patch) | |
tree | 7835030da8cc166304907f77785020e003162ac4 | |
parent | Not working (diff) | |
download | lowbat-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
-rw-r--r-- | Makefile | 1 | ||||
-rw-r--r-- | asm/jo_r_loop.asm | 17 |
2 files changed, 6 insertions, 12 deletions
@@ -41,7 +41,6 @@ CFLAGS += -Wno-variadic-macros CFLAGS += -Werror CFLAGS += -pedantic CFLAGS += ${DEBUG} -# -------------------------------------------------------------------------------------- # # CFLAGS += ${OPTI} # -------------------------------------------------------------------------------------- # OPTI = -O2 -pipe 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 |