diff options
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 |