add NewMessage / Frame instructions (without actual implementation)
This commit is contained in:
@ -2,6 +2,10 @@ module Register
|
||||
class ReturnImplementation
|
||||
def run block
|
||||
block.codes.dup.each do |code|
|
||||
|
||||
#TODO
|
||||
- move message to new meesage
|
||||
- restore caller message and self / frame
|
||||
next unless code.is_a? Virtual::MethodReturn
|
||||
#load the return address into pc, affecting return. (other cpus have commands for this, but not arm)
|
||||
message = RegisterReference.new(:r0)
|
||||
|
Reference in New Issue
Block a user