This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Memory Allocation On Stack


No, PUSHL pushes 4 bytes on stack.


On 7/22/07, John (Eljay) Love-Jensen <eljay@adobe.com> wrote:
>What about this one ? Three PUSHes + sub 0x10,%esp. That makes 28 bytes. Stack is not aligned on 16-byte boundary in this case.

Isn't that Two PUSHes (= 2 x 4 = 8), One PUSHL (= 8), and sub 0x10 (= 16), making 32 bytes?



--
- Pankaj

----------------------------------------------------------------------------------------------------------------------
There are only 10 kind of people in the world, those who can count in
binary, and those who cannot.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]