|Heap Allocated Stack Frame x86 Compiler? email@example.com (Bruce) (2002-09-03)|
|Re: Heap Allocated Stack Frame x86 Compiler? firstname.lastname@example.org (Stephen J. Bevan) (2002-09-08)|
|Re: Heap Allocated Stack Frame x86 Compiler? email@example.com (Peter \Firefly\Lund) (2002-09-08)|
|Re: Heap Allocated Stack Frame x86 Compiler? firstname.lastname@example.org.OZ.AU (Fergus Henderson) (2002-09-08)|
|Re: Heap Allocated Stack Frame x86 Compiler? email@example.com (Ira Baxter) (2002-09-08)|
|Re: Heap Allocated Stack Frame x86 Compiler? firstname.lastname@example.org (Paolo Bonzini) (2002-09-12)|
|Date:||3 Sep 2002 00:07:48 -0400|
|Posted-Date:||03 Sep 2002 00:07:48 EDT|
Is there a compiler available that will create native x86 code that
makes no use of the stack. Instead it could dynamically allocate space
for a stack frame on the heap and then set the EBP and ESP registers
and then use the stack as normal.
I searched the internet but all I can find are langauges such as
python and PicoC that run on top of virtual machines.
A C compiler would be ideal but any language would do.
[I doubt there are any 386 compilers that do heap allocation of
individual call frames, since you need a stack anyway to handle
interrupts. But there are lots of packages that set up blocks of
space for thread stacks and run with the stack in one of them rather
than the "system" stack. -John]
Return to the
Search the comp.compilers archives again.