fixin up mov arguments

This commit is contained in:
Torsten Ruger
2014-05-18 12:30:49 +03:00
parent 2be96dccdc
commit 9fc8bfbb55
9 changed files with 26 additions and 25 deletions

View File

@@ -64,8 +64,9 @@ module Vm
end
end
class MoveInstruction < Instruction
def initialize first , options
@first = first
def initialize to , from , options
@to = to
@from = from
super(options)
end
end