adding sources to register instructions

This commit is contained in:
Torsten Ruger
2015-07-27 12:13:39 +03:00
parent f91c9fabe8
commit 36f635f7c1
16 changed files with 55 additions and 47 deletions

View File

@ -16,7 +16,8 @@ module Register
# second arguemnt to
#
# Note: this may be reversed from some assembler notations (also arm)
def initialize from , to
def initialize source , from , to
super(source)
@from = wrap_register(from)
@to = wrap_register(to)
end