Figure 1:
The ix86 stack frame layout; register %esp holds the stack pointer and %ebp holds the base pointer.