Re:Where the top of the stack is on x86 (2011)
by Narishma on Friday May 07, 2021 @04:47PM
(#27080706)
In this case, it's not a weirdo, is it? I don't know of any popular ISA with a stack that grows upward.
Re:Where the top of the stack is on x86 (2011)
by anyfoo on Friday May 07, 2021 @07:02PM
(#27081788)
I can't think of any either right now[1], with the exception maybe of very old ISAs where the stack is not in regularly addressable memory at all, and instead fixed depth formed by effectively a bunch of registers. But it might be hard to even define any notion of "upwards" or "downwards" on those.
[1] EDIT: This comment mentions PA-RISC: https://news.ycombinator.com/item?id=27079832
Re:Where the top of the stack is on x86 (2011)
by userbinator on Friday May 07, 2021 @08:36PM
(#27082478)
8051. Quite a popular microcontroller.
"The x86 architecture is the weirdo" --Raymond Chen
https://devblogs.microsoft.com/oldnewthing/20040914-00/?p=37...
https://devblogs.microsoft.com/oldnewthing/20130320-00/?p=48...