[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [f-cpu] calling conventions
On Fri, Jun 07, 2002 at 03:46:14PM -0600, Ben Franchuk wrote:
> Michael Riepe wrote:
>
> > With respect to the memory load/store capabilities (or inabilities) of the
> > F-CPU, I think that passing arguments in registers is the best choice.
> > The other simple alternative - putting all arguments on the stack -
> > will be much slower (and also produce longer code).
>
> Mind you other than FORTH and dumb little functions like
> strlen() or strcat() most functions take a long time to
> execute compared to entry and exit times.
Depends on the language. Especially OO languages are often big collections
of rather short subroutines (due to the encapsulation in objects).
--
Michael "Tired" Riepe <Michael.Riepe@stud.uni-hannover.de>
"All I wanna do is have a little fun before I die"
*************************************************************
To unsubscribe, send an e-mail to majordomo@seul.org with
unsubscribe f-cpu in the body. http://f-cpu.seul.org/