diff options
author | Benji Dial <benji@benjidial.net> | 2023-05-30 01:20:08 -0400 |
---|---|---|
committer | Benji Dial <benji@benjidial.net> | 2023-05-30 01:20:08 -0400 |
commit | e39e53f96e0fb75847bd2f5eb40cac7c52e85886 (patch) | |
tree | cbd39208c85a59b39bd9779c13687571383db7ea /warriors/dwarf-replicator.red | |
parent | 78835a06e4fe2429a658d849c59d999eb97bc03c (diff) | |
download | lib94-e39e53f96e0fb75847bd2f5eb40cac7c52e85886.tar.gz |
labels aren't supposed to have colons
Diffstat (limited to 'warriors/dwarf-replicator.red')
-rw-r--r-- | warriors/dwarf-replicator.red | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/warriors/dwarf-replicator.red b/warriors/dwarf-replicator.red index 01a1494..c5022a2 100644 --- a/warriors/dwarf-replicator.red +++ b/warriors/dwarf-replicator.red @@ -3,27 +3,27 @@ ;not a particularly good warrior, but is sufficient to test a few things -start: +start mov 0, 2908 nop }start, >start jmp 2 dat - seq.a #end - start, start + seq.a #the_end - start, start jmp start jmp 2 dat - sub.ab #end - start, start + sub.ab #the_end - start, start spl @start jmp 2, <start dat -dwarf: - mov end, end + 4 +dwarf + mov the_end, the_end + 4 add.ab #4, dwarf jmp 2 @@ -35,8 +35,8 @@ dwarf: dat -core_clear: - mov end, end + 1 +core_clear + mov the_end, the_end + 1 add.ab #1, -1 jmp 2 @@ -48,8 +48,8 @@ core_clear: dat - mov.ab #end + 1, core_clear + mov.ab #the_end + 1, core_clear jmp core_clear dat -end: +the_end |