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
No need to re-state what you're trying to do --- I understood you the first time. What you're trying to do is impossible. You're asking a tree to fly.
It really depends on the device that he is using. What type of controller are you using? Does this controller provide a special memory REMAP feature? Reinhard
Hi I am using Philips LPS2294 I am looking into the manual for remapping.If u come across any ided do let me know. Thanks in advance.
Hi I am using Philips LPS2294 I am looking into the manual for remapping.If u come across any idea do let me know. Thanks in advance.
Hi I am using Philips LPC 2294 I am looking into the manual for remapping.If u come across any idea do let me know. Thanks in advance.
What you're trying to do is impossible. You're asking a tree to fly evidently you do not have hurricanes or tornadoes in Germany.
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
"What you're trying to do is impossible. You're asking a tree to fly." Apparently he's asking the wrong kind of tree.