From 34f348f45b3c113433176e7553b5074aad1d5c37 Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Sat, 18 Apr 2020 15:20:23 +0200 Subject: eSpeak is the problem --- asm/jo_r_loop.asm | 17 ++++++----------- 1 file changed, 6 insertions(+), 11 deletions(-) (limited to 'asm') 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 -- cgit v1.2.3