First page Back Continue Last page Overview Text

Notes:


If the processor stack grows towards lower memory locations, the stack pointer is decremented when data is pushed and incremented when data is pulled or popped. If the processor stack grows towards higher memory locations, the stack pointer is incremented when data is pushed and decremented when data is pulled or popped.
This determines the sign of the offsets from the frame pointer for local variables and passed parameters. The conventions above correspond to the processor we are using.