Chapter 6: Runtime System

Static Allocation

. A call statement is implemented by a sequence of two instructions

. A move instruction saves the return address

. A goto transfers control to the target code

. The instruction sequence is

MOV #here+20, callee.static-area

GOTO callee.code-area