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

Re: [MiNT] arguments in registers instead of stack in gcc



Hi,

I think there are some code inside GCC to modify to get that done. Fortunately, the TIGCC development team did some work on it, but can't remember how I come on this.

You can find the project here: http://tigcc.ticalc.org/

Cheers,
Thomas 


 Le jeu 30/10/08 09:22, "Miro Kropacek" miro.kropacek@gmail.com a écrit:
> Hi,
> 
> is there any way how to force gcc to pass arguments to assembler
> function in some specified registers instead of stack? Some compilers
> allow something like "func(register __a0 int* pointer)" declarations.
> 
> -- 
> MiKRO / Mystic Bytes
> http://mikro.atari.org [1]
> 
> 
> Links:
> ------
> [1] http://mikro.atari.org
> 
>