rubyx-debugger/lib/interpreter.rb
2015-07-23 13:20:53 +03:00

11 lines
173 B
Ruby

class Interpreter
attr_accessor :instruction
attr_accessor :registers
def initialize
@registers = Hash[(0...12).collect{|i| ["r#{i}" , "undefined"]}]
end
end