Hi i m new to keil i m getting an error while running the following program
ORG 00H MOV R0,#20H MOV A,#00H ADD A,RO END
there is no error while building and linking n on debugging while i get an error at run time error :65 access violation at 0x0005 plz help me out wat to do i hav read ur error 65 document but i am unable to get wat to do plz tell me whole path n wat to do
END tells the Assembler program that that is the end of code. The CPU keeps going. On a real chip it will "Run Away". You simulator has an issue with this.
YOU control everything in ASM. You must add the code to stop this. Like SJMP $
When you see an old film on TV and get to the "The End" part, that just informs you that the film has ended - your life will not end. If you don't turn off the TV, you will get whatever else that is following - a program or the end of transmission.
When you get to a 'Road ends here' sign, that sign will not make the car stop. It is up to you to stop the car.
The assembler only cares about syntax. It is up to you to make sure that the program is valid and makes sense.
Thank you Sir... Plz can u tell me where i can get uncorrupted version of Arm evaluation software. I downloaded it from keil.com but when i install and open a project it display message missing tools.ini file its has to be closed... and window closes off.. so u said that arm controller will take care of this problem so plz tell me the link where i can get uncorrrupted version...... plz help me out