Re: A89: rom call return values
[Prev][Next][Index][Thread]
Re: A89: rom call return values
Johan wrote:
>
> On Thu, Dec 02, 1999 at 17:44:50 -0500, Robin Kirkman wrote:
> >
> > what register do the tios rom calls place their return value in?
> > --robin
> >
>
> a0 if pointer, otherwise d0.w or d0.l depending on (integer) size.
>
> structs are returned in a bizarre way that you don't want to deal with.
> (I can explain if anyone cares to know...)
>
> //Johan
Yes, please do explain...
I am writing a tios function call wrapper for regular gcc, and i haven't
got it to return values yet, just do the calls.
--robin
Follow-Ups:
References: