[2016][ruby][12.1]

profile
Alpha Chen 8 years ago
parent 39f73f6935
commit e9910aa0d8

@ -1,4 +1,4 @@
registers = Hash[(?a..?d).map {|c| [c, 0] }] registers = { ?a => 0, ?b => 0, ?c => 1, ?d => 0 }
pc = 0 pc = 0
data = DATA.each_line.to_a data = DATA.each_line.to_a

Loading…
Cancel
Save