 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
• |
Assuming a
fixed size frame – where the stack
|
|
pointer stack
pointer (SP) points at the end of
|
|
|
the frame,
|
|
|
• |
then for any
reference to FP+k
|
|
|
|
FP + k == SP + k
+ Frame_Size
|
|
|
• |
Note that
Frame_Size not known here
|
|
|
|
– |
But Assembly
language constant name
|
|
|
<frame_name>_Frame_Size
can be used, and
|
|
|
defined by final
pass over the procedure code
|
|