[En-Nut-Discussion] ASM Branch

Tim DeBaillie debaillie at ciholas.com
Thu Nov 2 00:35:15 CET 2006


I am working on the ethernut 4.2 ethernet based bootloader for the 
AT91SAM7X256.  I have code at a particular location (0x10100) in flash and 
would like to "jump" to it.  I believe the right command is:

asm volatile ("bx #0x10100");

But this doesn't work.  I believe this may have something to do with R15 
in the microcontroller (the program counter), but I am unsure.

Does anyone want to lend a hand with this arm instruction set?

Tim



More information about the En-Nut-Discussion mailing list