wip
Alpha Chen 9 years ago
parent 6895a81f76
commit 14996b6e75

@ -31,6 +31,7 @@ end
instructions = DATA.read.split("\n").map {|line| line.split(/,? /) } instructions = DATA.read.split("\n").map {|line| line.split(/,? /) }
c = Computer.new(instructions) c = Computer.new(instructions)
c.registers[?a] = 1
c.run! c.run!
p c.registers p c.registers

Loading…
Cancel
Save