aboutsummaryrefslogtreecommitdiffstats
path: root/asm/jo_r_loop.asm
diff options
context:
space:
mode:
Diffstat (limited to 'asm/jo_r_loop.asm')
-rw-r--r--asm/jo_r_loop.asm10
1 files changed, 10 insertions, 0 deletions
diff --git a/asm/jo_r_loop.asm b/asm/jo_r_loop.asm
index 02753f5..736b3a6 100644
--- a/asm/jo_r_loop.asm
+++ b/asm/jo_r_loop.asm
@@ -11,7 +11,17 @@
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
section .text
+ extern jo_n_speak
global jo_r_loop
jo_r_loop:
+ cmp rdi, 0x1
+ je speak1
+
+next:
retq
+
+speak1:
+ mov rdi, [rsi + 8 * 2]
+ call jo_n_speak
+ jmp next