Possible Duplicate:
Why do stacks typically grow downwards?
Every architecture I have seen, stack is growing in the way that pushed value is given lower memory address. Is there any reason for that?
Possible Duplicate:
Why do stacks typically grow downwards?
Every architecture I have seen, stack is growing in the way that pushed value is given lower memory address. Is there any reason for that?
The lowest addresses are always reserved for special registers. Picking the lowest ensures that no matter the version of the micro (variable amounts of ram), the special registers are always in the same place.
By starting the stack at the very top, you only need to know one thing. The top address.
It sort of decouples two separate design issues. Reserved register placement and stack origin.