[fpc-pascal] alloca
Hairy Pixels
genericptr at gmail.com
Sun May 15 03:53:37 CEST 2022
> On May 15, 2022, at 12:00 AM, Dennis Lee Bieber via fpc-pascal <fpc-pascal at lists.freepascal.org> wrote:
>
> Non-portable would be in-line assembly supporting "PUSH"/"PULL/POP"
> operations on the stack. But would they be able to ensure the unwind works
> properly? After all, one could POP data all the way back into the calling
> functions stack frame.
If you know how to make a simple proof of concept I’d be curious to test it. I remember when I was talking about coroutines some time back I found this (http://www.festra.com/wwwboard/messages/12775.html) which does some stack pushing/popping or stack variables.
As an side, does the inline assembly in FPC work on arm64 or is it Intel only?
Regards,
Ryan Joseph
More information about the fpc-pascal
mailing list