Hi,

> Just another guess:  What happens if you do something like
>
>    uint16_t fptr2 = fptr/2;
>    asm("ijmp":: "x" fptr2);

yes, that works.  Great, thanks.

It seems it was related to the size of the argument.  It has to be 16 bit.


Best regards,
Torsten.


_______________________________________________
AVR-GCC-list mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/avr-gcc-list

Reply via email to