top | item 27079947

(no title)

rdhatt | 4 years ago

Remember:

"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...

discuss

order

Narishma|4 years ago

In this case, it's not a weirdo, is it? I don't know of any popular ISA with a stack that grows upward.

anyfoo|4 years ago

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

userbinator|4 years ago

8051. Quite a popular microcontroller.