Is there a way to explicitly point / put data on the C return stack? (Ideally, in the C standard, but the GCC solution will also be fine.)
I am implementing Forth in C on a microcontroller that works very tightly in RAM (kbytes, not megabytes).
I allocate RAM for the data stack, but I hope to save some RAM by splitting the Forth return stack with the C-stack return via explicit push / pops.
Can this be done in C?
source
share