Stack Organization (As you push, so shall you pop!)

3/17/98


Click here to start


Table of Contents

Stack Organization (As you push, so shall you pop!)

Recap: Procedures

Recap: Static Allocation

Problems with Static Allocation

Stacks

Stack Implementation

Activation Records

Activation Record a.k.a. Stack Frame

Stack Frame Details

Access to Local Frame

Stack Macros

Procedure Linkage Contract

Procedure Linkage Contract - II

Recursive Factorial Stack Frames

Recursive Factorial Assembly - I

Recursive Factorial Assembly - II

Snapshots of Stack Frames - I

Snapshots of Stack Frames - II

Next Time: Turing Machines

Author: Srinivas Devadas

Email: devadas@mit.edu

Home Page: http://cag-www.lcs.mit.edu/6.004

Download presentation postscript