fa25-cs354 cs354recursionarraysstructsalignmentunions
W11 W11
Content locked
The catalog is public. Reading this content requires approved access.
Sign in to readWeek 11 Objectives
This Week
Read before Next Week
Recursion
Assembly Trace
Stack Allocated Arrays in C
Recall Array Basics
Recall Array Indexing and Address Arithmetic
Stack Allocated Arrays in Assembly
Arrays on the Stack
Accessing 1D Arrays in Assembly
Stack Allocated Multidimensional Arrays
Recall 2D Array Basics
Accessing 2D Arrays in Assembly
Compiler Optimizations
Stack Allocated Structures
Structures on the Stack
Accessing Structures in Assembly
Alignment
What?
Why?
Restrictions
Implications
Structure Example
Alignment Practice
Unions
What?
Why?
How?
Example