Recap: Static Allocation
Given
int x, y, z ;
…
z = x + y ;
Translate as follows:
Assign fixed (constant) addresses to variables x, y and z
Translate each variable reference to a direct read/write of the assigned memory location
Storage allocated at compile time!
Previous slide
Next slide
Back to first slide
View graphic version