[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [avr-gcc-list] EEPROM section overlapping bootloader in stuffed mega
From: |
Richard Urwin |
Subject: |
Re: [avr-gcc-list] EEPROM section overlapping bootloader in stuffed mega8 |
Date: |
Mon, 23 Feb 2004 07:43:19 +0000 |
User-agent: |
KMail/1.5.3 |
On Sunday 22 Feb 2004 11:01 pm, Louis Beaudoin wrote:
> It should be as simple as asm volatile("jmp 0x1800"), but the gcc
> assembler doesn't support the jmp instruction for the mega8 (yes, it
> is part of the mega8's instruction set). rjmp could work, but I
> don't know how to make it point to address 0x1800, as I don't know
> the rjmp instructions location at compile time.
I would be tempted to plant the binary of jmp 0x1800 using .word
directives.
--
Richard Urwin
_______________________________________________
avr-gcc-list mailing list
address@hidden
http://www.avr1.org/mailman/listinfo/avr-gcc-list