summaryrefslogtreecommitdiff
path: root/warriors/epson.red
diff options
context:
space:
mode:
authorBenji Dial <benji@benjidial.net>2023-05-30 01:20:08 -0400
committerBenji Dial <benji@benjidial.net>2023-05-30 01:20:08 -0400
commite39e53f96e0fb75847bd2f5eb40cac7c52e85886 (patch)
treecbd39208c85a59b39bd9779c13687571383db7ea /warriors/epson.red
parent78835a06e4fe2429a658d849c59d999eb97bc03c (diff)
downloadlib94-e39e53f96e0fb75847bd2f5eb40cac7c52e85886.tar.gz
labels aren't supposed to have colons
Diffstat (limited to 'warriors/epson.red')
-rw-r--r--warriors/epson.red20
1 files changed, 10 insertions, 10 deletions
diff --git a/warriors/epson.red b/warriors/epson.red
index a327807..eeceee1 100644
--- a/warriors/epson.red
+++ b/warriors/epson.red
@@ -3,13 +3,13 @@
period equ 10
-scan_init equ end - (end - scan) % period + period
+scan_init equ the_end - (the_end - scan) % period + period
-scan:
+scan
seq.i -period, scan_init
jmp found
-found_ret:
+found_ret
add.ab #period, scan
seq.ab scan, scan
jmp scan
@@ -17,26 +17,26 @@ found_ret:
add.f scan_add, scan
jmn.a scan, scan
-clear:
- mov end, - 1
+clear
+ mov the_end, - 1
sub.ab #2, clear
- seq.ab #end - clear - (end - clear) % 2 + 3, clear
+ seq.ab #the_end - clear - (the_end - clear) % 2 + 3, clear
jmp clear
mov.ab #-1, clear
jmp clear
-scan_add:
+scan_add
dat 2, period + scan_init + 2
-found:
+found
mov bomb, >scan
mov bomb + 1, @scan
jmp found_ret, <scan
-bomb:
+bomb
spl 1
jmp bomb
-end:
+the_end