rubyx-debugger/lib/interpreter.rb

11 lines
173 B
Ruby
Raw Normal View History

2015-07-23 12:15:44 +02:00
class Interpreter
attr_accessor :instruction
attr_accessor :registers
def initialize
2015-07-23 12:20:53 +02:00
@registers = Hash[(0...12).collect{|i| ["r#{i}" , "undefined"]}]
2015-07-23 12:15:44 +02:00
end
end