Why doesn’t the Extended Stack Pointer (ESP) jump 1h in each PUSH or POP operation?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
That’s because
PUSHpushes one whole register to the stack. On 32bit machines, that’s four byte’s worth of data.PUSHQwould change RSP by 8 in x86_64 because it pushes 64 bits.