aboutsummaryrefslogtreecommitdiffstats
path: root/asm/jo_r_loop.asm
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-04-17 19:35:12 +0200
committerJozanLeClerc <bousset.rudy@gmail.com>2020-04-17 19:35:12 +0200
commit96caf953fb9d851b2f949fcd52dd7194ee6b1bb2 (patch)
tree79e491bab9e767be9fb738da0df1abc0ee0372d1 /asm/jo_r_loop.asm
parentin progress (diff)
downloadlowbat-bsd-96caf953fb9d851b2f949fcd52dd7194ee6b1bb2.tar.gz
lowbat-bsd-96caf953fb9d851b2f949fcd52dd7194ee6b1bb2.tar.bz2
lowbat-bsd-96caf953fb9d851b2f949fcd52dd7194ee6b1bb2.tar.xz
lowbat-bsd-96caf953fb9d851b2f949fcd52dd7194ee6b1bb2.tar.zst
lowbat-bsd-96caf953fb9d851b2f949fcd52dd7194ee6b1bb2.zip
On the way, solved segv
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