tinycc-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Tinycc-devel] RE: [C67] How does structure passing work?


From: Peter \"Firefly\" Lund
Subject: [Tinycc-devel] RE: [C67] How does structure passing work?
Date: Fri, 14 Mar 2003 01:27:07 +0100 (MET)

On Thu, 13 Mar 2003, TK wrote:

> I haven't tried passing a structure as a parameter.
>
> Passing a pointer to a structure seems to work.

As well it should :)

> I haven't tried returning a structure.  There is a chance it may work
> for TCC67 calling generated functions TCC67, but it is definitely not
> compatible with TI's Code Composer.  Code Composer uses a special return
> register A3 for this and has a bunch of options/rules on who copies
> what.  I chose not to support it.

Ok.

I'll put in some big warnings in a comment.

-Peter





reply via email to

[Prev in Thread] Current Thread [Next in Thread]