ARM 7 generic cpu ,keil Uv4

Status
Not open for further replies.

kartikkg

Newbie level 5
Joined
Nov 17, 2008
Messages
10
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,353
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
 

my two cents: for a processor that complicated, programming it in assembly is a futile attempt, unless you plan to use a tiny portion of the processor's potential.
 

yes i am using a very tiny portion and i am learning it , to begin with i am coding small things , plz help out

Added after 3 minutes:

plz give a proper answer
 

Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…