Purpose of Stack
Memory used to pass parameters to procedures.
Memory used for allocating space for local variables.
Save return address in procedure calls.
Save registers to be preserved across procedure calls.
Passing Parameters to Procedures
Call Frames
Setting up Call Frames
Reading Arguments
Reading Arguments
Get argument and Return