[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[avr-gcc-list] How to embed assembler "jmp 0x1E00" in C source for ATmeg
From: |
Pieter Conradie |
Subject: |
[avr-gcc-list] How to embed assembler "jmp 0x1E00" in C source for ATmega8 ? |
Date: |
Fri, 12 Jul 2002 23:46:12 +0200 |
Hi Everyone,
Previously I used:
...
asm volatile ("jmp 0x1E00");
...
To jump directly to boot loader section (i.e. software reset).
The new compiler reports the following error message:
Error: illegal opcode jmp for mcu atmega8
What would the proper way be ?
Regards
Pieter Conradie
avr-gcc-list at http://avr1.org