[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Tinycc-devel] RE: [C67] How does structure passing work?
From: |
TK |
Subject: |
[Tinycc-devel] RE: [C67] How does structure passing work? |
Date: |
Thu, 13 Mar 2003 16:25:48 -0800 |
I haven't tried passing a structure as a parameter.
Passing a pointer to a structure seems to work.
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.
TK
> -----Original Message-----
> From: Peter "Firefly" Lund [mailto:address@hidden
> Sent: Thursday, March 13, 2003 2:48 PM
> To: Tom Kerekes
> Subject: [C67] How does structure passing work?
>
> Does your code generator support it? Including for return values?
>
> -Peter
>
> "Of course, I'm not unbiased, but in my humble opinion, I've
> gotten close to something that I can be really proud of."
> -- Knuth on The Art of Computer Programming.
- [Tinycc-devel] RE: [C67] How does structure passing work?,
TK <=