kartikkg
Newbie level 5
i am practicing small arm 7 programs and have selected the first ARM 7 generic cpu as target device , i am having trouble with LDR and STR instructions as they are givein error 65, memory access violation , the trouble is same for cortex m0 or any other processor ,The program Is in "ASSembly LANguage" not C and hence i ve not included startup.s or other files
the program is as follows
AREA Example,code,READonly
ENTRY
MOV R0,#40
LDR R2,[R11]
end
it compiles wirhout errors or warning ,but during simulation it gives this
*** error 65: access violation at 0x00000008 : no 'execute/read' permission
what kind of directive should i use?
if any body could plz write a program as simple as this ,it would be a big favor
the program is as follows
AREA Example,code,READonly
ENTRY
MOV R0,#40
LDR R2,[R11]
end
it compiles wirhout errors or warning ,but during simulation it gives this
*** error 65: access violation at 0x00000008 : no 'execute/read' permission
what kind of directive should i use?
if any body could plz write a program as simple as this ,it would be a big favor