created: 06/22/02; revised 12/06/02

# CHAPTER 28 — Frame-based Linkage Convention, Variables, and Recursion

This chapter builds further on the stack-based linkage convention to create a frame-based linkage convention. A stack frame is the section of the run-time stack that holds the data of a subroutine.

#### Chapter Topics:

- Stack frames and the frame pointer.
- Local variables.
- Simplified Frame-based Linkage Convention.
- Compiler optimizations.
- Recursion.
- Storage classes: static, automatic, dynamic.
- Entry points.

### QUESTION 1:

(Thought Question:) What is a local variable in a higher level language?