summaryrefslogtreecommitdiff
path: root/warriors/trap.red
diff options
context:
space:
mode:
authorBenji Dial <benji@benjidial.net>2023-05-30 00:22:29 -0400
committerBenji Dial <benji@benjidial.net>2023-05-30 00:22:29 -0400
commit28e855f5424df395dd1ba98354a53536d4598d47 (patch)
tree21e17429958fedf754ac7aad59377f6fdac2a08f /warriors/trap.red
parente56afe88854d3da8d0d9d5c836da6024b02a9bac (diff)
downloadlib94-28e855f5424df395dd1ba98354a53536d4598d47.tar.gz
fix djn again, and pre-dec / post-inc; few other changes
Diffstat (limited to 'warriors/trap.red')
-rw-r--r--warriors/trap.red28
1 files changed, 0 insertions, 28 deletions
diff --git a/warriors/trap.red b/warriors/trap.red
deleted file mode 100644
index 681ea6e..0000000
--- a/warriors/trap.red
+++ /dev/null
@@ -1,28 +0,0 @@
-;author benji
-;name trap
-
-org start
-
-trap:
-spl 1
-jmp trap
-
-start:
-mov.i bomb, bomb + 8
-add.ab #8, start
-sub.ab #8, bomb
-sne.ab #bomb - 8 - start, start
-jmp core_clear
-jmp start
-
-bomb:
-jmp trap - 8
-
-core_clear:
-mov background, background + 1
-add.ab #1, core_clear
-jnz.b core_clear, core_clear
-mov.ab #background + 1 - core_clear, core_clear
-jmp core_clear
-
-background: