2016: d25: ex2: add input
This commit is contained in:
parent
7b161434a5
commit
b8c422ab31
1 changed files with 30 additions and 0 deletions
30
2016/d25/ex2/input
Normal file
30
2016/d25/ex2/input
Normal file
|
|
@ -0,0 +1,30 @@
|
||||||
|
cpy a d
|
||||||
|
cpy 15 c
|
||||||
|
cpy 170 b
|
||||||
|
inc d
|
||||||
|
dec b
|
||||||
|
jnz b -2
|
||||||
|
dec c
|
||||||
|
jnz c -5
|
||||||
|
cpy d a
|
||||||
|
jnz 0 0
|
||||||
|
cpy a b
|
||||||
|
cpy 0 a
|
||||||
|
cpy 2 c
|
||||||
|
jnz b 2
|
||||||
|
jnz 1 6
|
||||||
|
dec b
|
||||||
|
dec c
|
||||||
|
jnz c -4
|
||||||
|
inc a
|
||||||
|
jnz 1 -7
|
||||||
|
cpy 2 b
|
||||||
|
jnz c 2
|
||||||
|
jnz 1 4
|
||||||
|
dec b
|
||||||
|
dec c
|
||||||
|
jnz 1 -4
|
||||||
|
jnz 0 0
|
||||||
|
out b
|
||||||
|
jnz a -19
|
||||||
|
jnz 1 -21
|
||||||
Loading…
Add table
Add a link
Reference in a new issue