The only change call makes to the stack is to push the address just after the call instruction (the return address) onto the stack.
low memory address | Text (compiled, linked code) |
Global Data | |
heap area | |
(%esp) | return address in main |
main's stack frame | |
(%ebp) | bottom of main's stack frame |