Original slides by Chris Wilcox, Colorado State University Edited by Michelle Strout
x0000 Code Data Heap Stack xFFFF
x0000 D(8,9) C(7,8) main() xFFFF
x0000 Locals Return Address Return Value Parameters xFFFF x0000 Locals Return Address Return Value Parameters xFFFF
D(8,9) C(7,8) main()
First parameter Base + Offset Local Variable FP+0 Caller Frame Pointer FP+1 Return Address FP+2 FP+3 Return Value FP+4 First Parameter FP+5
Recommend
More recommend