News for hackers. Stuff that matters.
Re:Where the top of the stack is on x86 (2011) by rdhatt on Friday May 07, 2021 @03:28PM (#27079947)
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.