Use Stack for Local Variables
Just as the stack is used to store return addresses and parameters
It is also used to save and restore the data referenced by registers,
when these are used as temporary store by a procedure, for local variables.
Previous slide
Next slide
Back to first slide
View graphic version