avr-gcc-list
[Top][All Lists]
Advanced

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

Re: [avr-gcc-list] inline assembler, ijmp, X-Register


From: Torsten Mohr
Subject: Re: [avr-gcc-list] inline assembler, ijmp, X-Register
Date: Fri, 1 Jul 2005 19:52:48 +0200
User-agent: KMail/1.8

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.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]