projects
/
ou-summer-of-code-2017.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Updated analysis for end of month winners
[ou-summer-of-code-2017.git]
/
07-interpreter
/
07-program.txt
diff --git
a/07-interpreter/07-program.txt
b/07-interpreter/07-program.txt
index f12d4254ca8cc25e9a03860cdd79659052d165de..36074729806134c1140113911921faf4d5216de7 100644
(file)
--- a/
07-interpreter/07-program.txt
+++ b/
07-interpreter/07-program.txt
@@
-1,4
+1,4
@@
-sto a 1
+cpy a d
set b 0
dec a
jpz a 42
@@
-35,14
+35,14
@@
jpz a 2
jmp -7
cpy c a
cpy a b
-ld c 1
+cpy d c
jpz c 5
jpz b 5
dec b
dec c
jmp -4
-sto a 1
+cpy a d
jmp -42
-ld a 1
+cpy d a
set c 0
-s
to c 1
\ No newline at end of file
+s
et d 0
\ No newline at end of file