I want to write a program in assembly where my code is resident from location, say, 0x20000. On reset, code execution should start from location 0x20000. Kindly let us know how to write the initial code. I tried the following:
AREA ARMex, CODE, AT 0x00000000 ENTRY start B here org 0x20000 here: MOV r0, #10 MOV r1, #3 ADD r0, r0, r1 END
The Philips devices do not have a REMAP feature. Also 0x4000 0000 is RAM. Do you really want to loose program when you power off? Maybe you should take a look to C:\Keil\ARM\Boards\Keil\MCB2100\Blinky. This example is configured for execution from Flash and RAM. In this way you can see what needs to be done. Reinhard