The Lambda Lab
/
projects
/
jars.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Moved redcode out of main dir.
[jars.git]
/
warriors
/
dwarf.red
diff --git
a/dwarf.red
b/warriors/dwarf.red
similarity index 77%
rename from
dwarf.red
rename to
warriors/dwarf.red
index
d0abecb
..
a6fa401
100644
(file)
--- a/
dwarf.red
+++ b/
warriors/dwarf.red
@@
-8,8
+8,7
@@
;strategy Bombs every fourth instruction.
;assert CORESIZE % 4 == 0
;strategy Bombs every fourth instruction.
;assert CORESIZE % 4 == 0
-ORG 1 ; Indicates execution begins with the second
-; instruction (ORG is not actually loaded, and is
+ORG 1 ; Indicates execution begins with the second instruction
DAT.F #0, #0 ; Pointer to target instruction.
ADD.AB #4, $-1 ; Increments pointer by step.
DAT.F #0, #0 ; Pointer to target instruction.
ADD.AB #4, $-1 ; Increments pointer by step.