On 2022-05-14 10:52, Hairy Pixels via fpc-pascal wrote:
On May 14, 2022, at 1:01 PM, Jonas Maebe via fpc-pascal
<fpc-pascal@lists.freepascal.org> wrote:
It *requires* compiler support for...
The RTL has get_frame but that just tells you the start of the frame
right? If you had the stack pointer address you could advance that
pointer x bytes and get a new location in the stack?
No, because most modern OSes don't allow you to address memory below the
stack pointer (and for the ones that do to a limited extent, the
compiler could be using that memory already).
Jonas
_______________________________________________
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal