News for hackers. Stuff that matters.
Re:What is “the stack”? by ChemicalWarfare on Thursday March 03, 2016 @11:35AM (#11217946)
"I was really surprised that assembly instructions make assumptions about how memory is organized and what information is in which registers."

This layout is a part of the specific architecture the compiler is generating the assembly code for so it better know where the stack pointer is stored on your platform :)

It's basically the same way as if you were manually writing Assembly code yourself - you would need to know what registers are used for what purpose on your platform.

There are no comments on this comment yet.