Re:The ancient world before computers had stacks or heaps
by bewaretheirs on Wednesday April 03, 2024 @12:34PM
(#39919554)
> Have one array grow normally from location#0, and the second array grow backwards from location#End.
The stack in most ISAs and ABIs grows down from a high address, allowing this trick to be used to divide memory flexibly between heap and stack in single-threaded small-memory systems.
The stack in most ISAs and ABIs grows down from a high address, allowing this trick to be used to divide memory flexibly between heap and stack in single-threaded small-memory systems.