summaryrefslogtreecommitdiff
path: root/warriors
diff options
context:
space:
mode:
Diffstat (limited to 'warriors')
-rw-r--r--warriors/dwarf.red6
1 files changed, 5 insertions, 1 deletions
diff --git a/warriors/dwarf.red b/warriors/dwarf.red
index cfa3b86..17c075c 100644
--- a/warriors/dwarf.red
+++ b/warriors/dwarf.red
@@ -1,6 +1,10 @@
;author standard
;name dwarf
+;assert (0 - bomb_step) % bomb_step == 0
+
+bomb_step equ 4
+
mov 0-1, 3
-add.ab #4, 0-1
+add.ab #bomb_step, 0-1
jmp 0-2