Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

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
 

millwood

Advanced Member level 3
Joined
Jul 2, 2009
Messages
734
Helped
80
Reputation
164
Reaction score
35
Trophy points
1,308
Activity points
5,088
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.
 

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
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

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top