just make sre we really ret registers (some constants were flying about)

This commit is contained in:
Torsten Ruger
2014-10-07 12:23:08 +03:00
parent e1b29d799a
commit cae99f217c
2 changed files with 7 additions and 2 deletions

View File

@ -4,8 +4,8 @@ module Register
class RegisterTransfer < Instruction
def initialize from , to
@from = from
@to = to
@from = wrap_register(from)
@to = wrap_register(to)
end
attr_reader :from, :to
end