minor
This commit is contained in:
@ -1,7 +1,7 @@
|
||||
module Register
|
||||
|
||||
# return from a function call
|
||||
#register and index specify where the return address is stored
|
||||
# register and index specify where the return address is stored
|
||||
|
||||
class FunctionReturn < Instruction
|
||||
def initialize register , index
|
||||
|
@ -3,6 +3,9 @@ module Register
|
||||
# save the return address of a call
|
||||
# register and index specify where the return address is stored
|
||||
|
||||
# This instruction exists mainly, so we don't have to hard-code where the machine stores the
|
||||
# address. In arm that is a register, but intel may (?) push it, and who knows, what other machines do.
|
||||
|
||||
class SaveReturn < Instruction
|
||||
def initialize register , index
|
||||
@register = register
|
||||
|
Reference in New Issue
Block a user