summaryrefslogtreecommitdiff
path: root/warriors/dwarf.red
diff options
context:
space:
mode:
authorBenji Dial <benji@benjidial.net>2023-05-30 01:07:38 -0400
committerBenji Dial <benji@benjidial.net>2023-05-30 01:07:38 -0400
commit78835a06e4fe2429a658d849c59d999eb97bc03c (patch)
tree40df6b28f3119f41705f30a4c88b78a65ad9d5cb /warriors/dwarf.red
parentfbabd9f8019cb5c9ca0736182eac40ea79d295e9 (diff)
downloadlib94-78835a06e4fe2429a658d849c59d999eb97bc03c.tar.gz
unary + and - in compiler
Diffstat (limited to 'warriors/dwarf.red')
-rw-r--r--warriors/dwarf.red4
1 files changed, 2 insertions, 2 deletions
diff --git a/warriors/dwarf.red b/warriors/dwarf.red
index e0e2638..d2df37e 100644
--- a/warriors/dwarf.red
+++ b/warriors/dwarf.red
@@ -2,5 +2,5 @@
;name Dwarf
mov 3, 7
-add.ab #4, 0-1
-jmp 0-2
+add.ab #4, -1
+jmp -2