rename machine to c_machine

This commit is contained in:
Torsten Ruger
2014-05-13 17:06:42 +03:00
parent d7f31e7f39
commit b0302948dd
10 changed files with 21 additions and 20 deletions

View File

@ -1,4 +1,4 @@
require "vm/machine"
require "vm/c_machine"
require_relative "stack_instruction"
require_relative "logic_instruction"
require_relative "move_instruction"
@ -7,7 +7,7 @@ require_relative "memory_instruction"
require_relative "call_instruction"
module Arm
class ArmMachine < Vm::Machine
class ArmMachine < Vm::CMachine
# defines a method in the current class, with the name inst (first erg)
# the method instantiates an instruction of the given class which gets passed a single hash as arg