Hello all I tried to run the simple ARM assembly program.Thers no error and warming when I am building the program But When I debug and run the program I am getting the error below *** error 65: access violation at 0x00000000 : no 'execute/read' permission I can see in the disassembly window that my rpogram is getting stored from location 0x00000010.The location 0x00000000 to 0x0000000c doesnt have my code....I would like to know the reason why my program is geeting stored at 0x00000010 instead of 0x00000000 ? the code is
AREA my_code, CODE,Readonly Entry mov r0,#0xFF mov r2,#0x34 End
Which controller have you chosen in your project/ the simulation?
Philips LPC 2292 is the one that i am choosing
Basically you need to set the execution attribute using the MAP command. See: http://www.keil.com/support/docs/3102.htm http://www.keil.com/support/docs/814.htm Reinhard
Thanks a lot and it is working fine now