When the ebp register is pushed onto the stack (this is on IA-32 architecture) how many bytes does it occupy?
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.
In x86-32, all of the main registers (including EBP) are 32 bits in size, and take up 4 bytes on the stack. The only exception that pops out at me are CS, DS, ES, etc — and even those, IIRC, are pushed onto the stack as 32-bit values in order to keep the stack dword-aligned.