wisconsin
W10

W10

Content locked

The catalog is public. Reading this content requires approved access.

Sign in to read
Midterm Exam 2 – Wednesday, November 5, 2025, 7:30 - 9:30 pm
This Week
Week 10 Objectives
This Week
Read before Next Week
The Stack from a Programmer’s Perspective
What does the compiler need to do to make function calls work?
The Stack and Stack Frames
Stack Layout
Instructions - Transferring Control
Flow Control
Stack Frames
Register Usage Conventions
Return Value
Frame Base Pointer %ebp
Stack Pointer %esp
Registers and Local Variables
IA-32
Function Call-Return Example
CALL code in dequeue
RETURN code in dequeue
CALL code in inc
RETURN code in inc
Execution Trace of Stack and Registers