summaryrefslogtreecommitdiff
path: root/jefs.s
diff options
context:
space:
mode:
Diffstat (limited to 'jefs.s')
-rw-r--r--jefs.s6
1 files changed, 6 insertions, 0 deletions
diff --git a/jefs.s b/jefs.s
index e0b0c70..a6fa1b4 100644
--- a/jefs.s
+++ b/jefs.s
@@ -153,6 +153,12 @@ defword "c,", c_comma, 0
mov qword [here], r12
ret
+; note: this puts the _address it itself pushes_ on the stack
+; maybe this is not the correct approach?
+defword "sp", _sp, 0
+ pspush r14
+ ret
+
; stage 1 parser. very rudimentary,
; since it will only parse a little bit of the init file
; there won't be much error checking either.