What (if anything) is preventing the stack from growing and dropping data or instructions?
YOU! When assembling in assembly, there is no hand. You have to make sure that all values ββfit into their buffers, all pointer pointers are within. You leave space on the stack, make sure that all this fits into this buffer. You are responsible for all aspects of programming when using Assembly.
source share