Skip to content

Commit

Permalink
Add commented instructions for day 23 part 2
Browse files Browse the repository at this point in the history
  • Loading branch information
Simon Hessner committed Dec 26, 2017
1 parent a4b9c71 commit 1eb8293
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions day23/inputcommented
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,16 @@ set c b # c = b
sub c -17000 # c += 17000
set f 1 # f = 1 # while True
set d 2 # d = 2
set e 2 # e = 2 # while g != 0
set g d # g = d
mul g e # g *= e
sub g b # g -= b
jnz g 2 # if g != 0 goto line 17
set f 0 # f = 0
sub e -1 # e += 1
set g e # g = e
sub g b # g -= b
jnz g -8 # if g != 0 goto line 12
set e 2 # e = 2
set g d # g = d # while g != 0
mul g e # g *= e
sub g b # g -= b
jnz g 2 # if g != 0 goto line 17
set f 0 # f = 0
sub e -1 # e += 1
set g e # g = e
sub g b # g -= b
jnz g -8 # if g != 0 goto line 12
sub d -1 # d += 1
set g d # g = d
sub g b # g -= b
Expand Down

0 comments on commit 1eb8293

Please sign in to comment.