Assembler Developer

Moderators: None (Apply to moderate this forum)
Number of threads: 960
Number of posts: 1752

This Forum Only
Post New Thread
Single Post View       Linear View       Threaded View      f

Report
ARM programming using Keil Posted by ttsenthil on 5 Oct 2005 at 5:53 AM
Hi,I am new to the ARM programming area.I tried to run the below program in Keil uVision3 and I got the error....

*** ERROR L107: ADDRESS SPACE OVERFLOW
SPACE: CODE
SEGMENT: ARMex
LENGTH: 4000000CH
Program Size: data=0 const=16 code=1073741836
Target not created



AREA ARMex, CODE, READWRITE
ENTRY
org 0x40000000
start
MOV r0, #10
MOV r1, #3
ADD r0, r0, r1
END

I would like to know how I can make my program execution to jump to to the address location 40000000 whenever i start my program and how can i remove this error.

looking forward for ur answeres.

Thanks.
Report
Re: ARM programming using Keil Posted by angelusMortis on 14 Oct 2005 at 4:26 AM
: Hi,I am new to the ARM programming area.I tried to run the below program in Keil uVision3 and I got the error....
:
: *** ERROR L107: ADDRESS SPACE OVERFLOW
: SPACE: CODE
: SEGMENT: ARMex
: LENGTH: 4000000CH
: Program Size: data=0 const=16 code=1073741836
: Target not created
:
:
:
: AREA ARMex, CODE, READWRITE
: ENTRY
: org 0x40000000
: start
: MOV r0, #10
: MOV r1, #3
: ADD r0, r0, r1
: END
:
: I would like to know how I can make my program execution to jump to to the address location 40000000 whenever i start my program and how can i remove this error.
:
: looking forward for ur answeres.
:
: Thanks.
:

hello,

i've never used keil, but i've done similar things on the gba with armasm.
you will have to tell the assembler that your code is located in 0x40000000. you should read your assembers manual to find out how to do it.
i dont know what system you are coding for but probably the code on this system is written to a default area in memory. so you will additionaly have to move your code from this area to 0x40000000 before you can execute it.



 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.