AREA bob, CODE b main org 0 main nop nop nop nop nop loop: b loop END with this code I get the following message *** ERROR L138: CODE GENERATION: PROBLEM WHEN PROCESSING INSTRUCTIONS CAUSE: ORG: offset below current offset How do I fix this?
AREA bob_test, CODE main: nop nop nop nop nop loop: b loop END I got rid of the brnach instruction but this code is offset to address 10. How do I change the offset to 0.
What is actually your problem. Do you want to create a STARTUP file for the device. Please take a look to the folder Keil\ARM\Startup. There we have several startup files. Reinhard