Hello, i have done a little workaround for this and it works like expected.
Regards, Mathias --------------- /* our external assembly function with reta return call */ __asm("\n\ .global _msp430x_asm_function \n\ _msp430x_asm_function: \n\ reta \n\ "); extern void _msp430x_asm_function(void * param); /* our calla wrapper for all c functions */ static inline void msp430x_asm_function(void * param) { __asm("calla #_msp430x_asm_function"); } int main() { void * param = 0x1234; msp430x_asm_function(param); while(1); return 0; } --------------- Am 08.09.2011 19:14, schrieb Peter Bigot: > Not at this time. > > Peter > > On Thu, Sep 8, 2011 at 11:42 AM, Mathias K. <kes...@freenet.de > <mailto:kes...@freenet.de>> wrote: > > Hello, > > is there any way to tell mspgcc that a assembly function must be always > called with the calla > instruction from c? > > > Thanks, > > Mathias ------------------------------------------------------------------------------ Doing More with Less: The Next Generation Virtual Desktop What are the key obstacles that have prevented many mid-market businesses from deploying virtual desktops? How do next-generation virtual desktops provide companies an easier-to-deploy, easier-to-manage and more affordable virtual desktop model.http://www.accelacomm.com/jaw/sfnl/114/51426474/ _______________________________________________ Mspgcc-users mailing list Mspgcc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mspgcc-users