|Subject:||RE: [avr-gcc-list] eicall on ATmega2561|
|Date:||Wed, 06 Aug 2008 01:57:25 +0200|
Okay, so I'm still not reading the entire post before replying. *sigh*
You've done a lot of work to avoid setting EIND in the inline assembly. You know the call is to high memory, so just set it in the inline assembly.
> Is there a way, how to say to a GCC compiler, that asm part modifies specific regs ?
Yup. The Inline Assembly entry in the Avr-Libc manual (online at http://www.nongnu.org/avr-libc/user-manual/inline_asm.html) shows the asm syntax as:
|[Prev in Thread]||Current Thread||[Next in Thread]|