summaryrefslogtreecommitdiff
path: root/jefs.s
diff options
context:
space:
mode:
authorkitty <nepeta@canaglie.net>2026-02-21 00:22:43 +1100
committerkitty <nepeta@canaglie.net>2026-02-21 00:22:43 +1100
commit13b631bfde1c9e488b1827282fd9968371679472 (patch)
treecc4912ae53c6d880bacb8aeed2be86695f5f7a51 /jefs.s
parent5668025b71f63f4cfbc8d6341c220bae187fd593 (diff)
1+ 1-
Diffstat (limited to 'jefs.s')
-rw-r--r--jefs.s9
1 files changed, 9 insertions, 0 deletions
diff --git a/jefs.s b/jefs.s
index e24f955..03dd963 100644
--- a/jefs.s
+++ b/jefs.s
@@ -721,6 +721,15 @@ defword "2drop", twodrop, 0
defword "rdrop", rdrop, 0
pop r11
ret
+
+; not sure if this is the right place to put this but
+defword "1+", oneplus, 0
+ inc qword [r14]
+ ret
+
+defword "1-", oneminus, 0
+ dec qword [r14]
+ ret
; }}}
; math {{{