[Top][All Lists]

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

Re: [avr-libc-dev] rjmp across FLASHEND

From: Bernhard Kuemel
Subject: Re: [avr-libc-dev] rjmp across FLASHEND
Date: Fri, 07 Oct 2011 12:41:55 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv: Gecko/20110818 Icedove/3.0.11

On 10/07/2011 09:58 AM, Bernhard Kuemel wrote:
> On 10/06/2011 11:38 PM, Bernhard Kuemel wrote:
>> Can you implement this, please? Is there a workaround to get the correct
>> rjmp?
> I can put the opcode as .word expression there, as a workaround.

Hey, I got it:

        rjmp    tinyloader-FLASHEND-1

Then this will also cancel the following PC underflow when the boot
loader rjmps to the application. But actually, AFAIK the PC has only as
many bits as necessary, so it will make no difference.

On 10/07/2011 12:08 PM, Bernhard Kuemel wrote:
> Hmm, this is my first asm project and I had never used .org or
> sections before. I did it with a section, too, but I want to the

Or, more precisely, my first avr asm project. I coded Amiga 68000 and
Sharp SC61860 (in a Sharp PC-140x pocket calculator) asm before.


reply via email to

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