Page 2 of 2

Re:Stack problem

Posted: Mon Aug 12, 2002 1:33 am
by df
well i said its not a hard rule, you can have odd value stacks. there were some cpus that reset when you had an odd number and rolled the stack over >64kb wraparound.

also, current cpus are more optimised for word+dword alignment, so using odd boundaries will slow it down.

i've also seen programs that assume its an even number, and do some really odd things with the stack.