| |
| | 22C:60 Notes, Chapter 6 |
 | | Once the called subroutine is running, it can interpret this as a pointer to the first word of its activation record, deferring the increment of the stack pointer until just before the next call, or it could increment the stack pointer as it enlarges its activation record. |
 | | Similarly, after the division and after storing the remainder and quotient in the activation record, we have gone to memory to get a copy of the quotient when we needed to test to see if it was zero, even though register 3 still holds the right value. |
 | | In each block of code where the stack pointer was left in a nonstandard alignment because the size of the activation record had not been subtracted from it, we had to modify the indexing displacements on every instruction that used the stack pointer. |
| www.cs.uiowa.edu /~jones/assem/fall04/notes/06call.shtml (6273 words) |
|