rubyx/lib/register/instructions/function_call.rb

12 lines
281 B
Ruby

module Register
# name says it all really
# only arg is the method object we want to call
# assembly takes care of the rest (ie getting the address)
class FunctionCall < Instruction
def initialize method
@method = method
end
attr_reader :method
end
end