PPT Slide
Why Are Stacks So Great? (Patterson)
Stacking of Subroutine Calls & Returns and Environments:
A:
CALL B
CALL C
C:
RET
RET
B:
A
A
B
A
B
C
A
B
A
Each procedure invocation makes use of the stack,
and during its lifetime ‘owns’ its part of the stack
(‘stack frame’).
(Me!)
Previous slide
Next slide
Back to first slide
View graphic version