[Top][All Lists]
[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.
- [avr-gcc-list] inline assembler, ijmp, X-Register, Torsten Mohr, 2005/07/01
- RE: [avr-gcc-list] inline assembler, ijmp, X-Register, Ben Mann, 2005/07/01
- RE: [avr-gcc-list] inline assembler, ijmp, X-Register, Dave Hansen, 2005/07/01
- Re: [avr-gcc-list] inline assembler, ijmp, X-Register,
Torsten Mohr <=