diff options
author | Benji Dial <benji@benjidial.net> | 2023-05-29 20:15:27 -0400 |
---|---|---|
committer | Benji Dial <benji@benjidial.net> | 2023-05-29 20:15:27 -0400 |
commit | 67a30f10dd690c8e7f8b18f7710a59449ce1a8ea (patch) | |
tree | caee6700819b39176a5a75040641622cb76beb2b /warriors/dwarf.red | |
parent | a40005c776c90fb6d8550ebecfe810ee14a398d6 (diff) | |
download | lib94-67a30f10dd690c8e7f8b18f7710a59449ce1a8ea.tar.gz |
assertions
Diffstat (limited to 'warriors/dwarf.red')
-rw-r--r-- | warriors/dwarf.red | 6 |
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 |