summaryrefslogtreecommitdiff
path: root/jefs.s
diff options
context:
space:
mode:
Diffstat (limited to 'jefs.s')
-rw-r--r--jefs.s10
1 files changed, 8 insertions, 2 deletions
diff --git a/jefs.s b/jefs.s
index 484c7b9..1c43d0a 100644
--- a/jefs.s
+++ b/jefs.s
@@ -192,7 +192,13 @@ defword "interpret", interpret, 0
.loop:
call parse
call find
- pspop r11 ; for testing
+ pspop r11 ; assume it exists for testing
+ call to_cfa
+ pspop r11
+ call r11
+ ret
+
+defword ">cfa", to_cfa, 0
pspop r11
add r11, 9
xor r12, r12
@@ -200,7 +206,7 @@ defword "interpret", interpret, 0
add r11, 2
add r11, r12
inc r11
- call r11
+ pspush r11
ret
defvar ">in", to_in, 0, 0