BruceMcF wrote:
On Apr 19, 2:45 pm, "Michael J. Mahon" <mjma...@aol.com> wrote:You don't even need to pass it, since it is a global page 0 variable.So its just a local stack frame in parallel with the hardware return stack. I never felt the urge to crack the hood on C, but I realize it is a lot more demanding of stack real estate than Forth.
Exactly. And the stack demand depends on programming style--lots of parameter or local variables means lots of stack frame. Since style is out of control of the compiler, you have to assume that there will be lots of stuff on the stack. -michael NadaPong: Network game demo for Apple II computers! Home page: http://members.aol.com/MJMahon/ "The wastebasket is our most important design tool--and it's seriously underused."