Baby steps in x86 assembly

from blog Marek's idea of the day, | ↗ original
16 July 201316 July 2013 It's a bit embarrassing but I never fully understood how the stack in x86 works. Sure, I know the stack grows downwards, the top is saved in It's a bit embarrassing but I never fully understood how the stack in x86 works. Sure, I know the stack grows downwards, the top is saved in %esp%esp and and %ebp%ebp points somewhere. But I didn't know exactly why. During points somewhere. But I didn't know exactly why. During Hacker SchoolHacker School I wrote a bit of assembly that finally gave me a better intuition, maybe it can help you as well. I wrote a bit of assembly that finally gave me a better intuition, maybe it can help you as well. PrerequisitesPrerequisites I'm...I'm...