关于定义变量 内存地址分配的问题
对于现代的CPU来说,这个仅仅是个历史问题
[解决办法]
一些体系结构的栈生长方向
x86 down
SPARC in a circle, very clever architecture, see below.
PPC down, I think.
System z in a linked list, I kid you not.
(but still down, at least for zLinux).
ARM selectable (thanks, Michael Burr).
Mostek6502 down (but only 256 bytes).
RCA1802A any way you want, subject to SCRT implementation.
PDP11 down.
来自
http://stackoverflow.com/questions/664744/what-is-the-direction-of-stack-growth-in-most-modern-systems/664779#664779