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

@ -4,7 +4,8 @@ module Register
# assembly takes care of the rest (ie getting the address)
class FunctionCall < Instruction
def initialize method
def initialize source , method
super(source)
@method = method
end
attr_reader :method