summaryrefslogtreecommitdiff
path: root/jefs.s
diff options
context:
space:
mode:
Diffstat (limited to 'jefs.s')
-rw-r--r--jefs.s8
1 files changed, 8 insertions, 0 deletions
diff --git a/jefs.s b/jefs.s
index 19e93d7..484c7b9 100644
--- a/jefs.s
+++ b/jefs.s
@@ -138,6 +138,7 @@ defword "parse", parse, 0
jmp .wordloop
.wordloop_end:
+ dec r11
sub r13, initfile
mov qword [to_in], r13
pop r13
@@ -167,6 +168,7 @@ defword "find", find, 0
mov rsi, r13
add rsi, 2
mov rdi, r11
+ mov rcx, r10
repz cmpsb
jnz .no
sub r13, 9
@@ -192,6 +194,12 @@ defword "interpret", interpret, 0
call find
pspop r11 ; for testing
pspop r11
+ add r11, 9
+ xor r12, r12
+ mov r12w, word [r11]
+ add r11, 2
+ add r11, r12
+ inc r11
call r11
ret