Ward, Garry wrote:
Simplicity?
push something to the stack, decrement the address, and if you've gone
negative, you've gone too far?
PUSH
DEC
BN stack overrun
BZ stack overrun
I've always been curious. Why is a top down stack used anyways ??
I understand that much.... but why did Intel want you to use a top-down
stack ?? I remember from my Pascal days that you could reference your
caller's local variables, so I guess it's easier to reference them in a
top-down stack. Just a guess, I have no idea.
Greg