Unix Stack Frame Questions

Rahul Dhesi dhesi%cirrusl at oliveb.ATC.olivetti.com
Fri Apr 5 05:20:49 AEST 1991


In <19157 at rpp386.cactus.org> jfh at rpp386.cactus.org (John F Haugh II) writes:

>>But a stack frame seems to be the most efficient way of dealing with
>>calls and returns.

>No, there are =many= better ways.

BZZZZZZZZZZZZZZZZZZ....

A "stack frame" is the ONLY way of dealing with calls and returns *if
they may be recursive*.

*Where* the stack frame lies is another question.  Part of it may be in
registers.  It's still a stack frame.
--
Rahul Dhesi <dhesi at cirrus.COM>
UUCP:  oliveb!cirrusl!dhesi



More information about the Comp.lang.c mailing list