summaryrefslogtreecommitdiff
path: root/warriors
diff options
context:
space:
mode:
authorBenji Dial <benji@benjidial.net>2023-05-29 20:15:27 -0400
committerBenji Dial <benji@benjidial.net>2023-05-29 20:15:27 -0400
commit67a30f10dd690c8e7f8b18f7710a59449ce1a8ea (patch)
treecaee6700819b39176a5a75040641622cb76beb2b /warriors
parenta40005c776c90fb6d8550ebecfe810ee14a398d6 (diff)
downloadlib94-67a30f10dd690c8e7f8b18f7710a59449ce1a8ea.tar.gz
assertions
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