[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Pgubook-readers] [Chapter 4] what is "Old %ebp" for and what is it?
From: |
김태윤 |
Subject: |
[Pgubook-readers] [Chapter 4] what is "Old %ebp" for and what is it? |
Date: |
Sun, 20 Mar 2011 10:47:43 +0900 |
hello
I am reading programming from the ground up chapter 4, 40page
there is stack figuration which is
Parameter #N
...
Parameter 2
Parameter 1
Return Address
Old %ebp
Local Variable 1
Local Variable 2
I have no idea what "Old %ebp" for.
if %ebp is used for accessing return address and parameters, then why
don't %ebp point just return address rather than "Old %ebp"?
is it for future uses?
my question is this
Q1. what is "Old %ebp" for and what is it?
Q2. why %ebp point Old %ebp not just return address?
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Pgubook-readers] [Chapter 4] what is "Old %ebp" for and what is it?,
김태윤 <=