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
Just try putting a line something like this before the end:
SJMP $
This will stop the simulator executing 'random data'
But Why is it required? Does that mean that there is an error in the main program? If i add a debug.ini file with the contents
map c:0X0000 c:0XFFFF execute read
its also not working..
Yes, there is a bug in the program. It is considered an error to continue running past the end of a road, and it is considered an error to not inform the processor what it should do after finishing your request.
View all questions in Keil forum