Stack problem

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
User avatar
df
Member
Member
Posts: 1076
Joined: Fri Oct 22, 2004 11:00 pm
Contact:

Re:Stack problem

Post 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.
-- Stu --
Post Reply