Reply by Michael Frazier●October 27, 20102010-10-27
You're absolutely correct..."If all else fails! Read the manual! That is
what most people do when they use something that is new to them."
________________________________
From: l... [mailto:l...] On Behalf Of 42Bastian
Sent: Tuesday, October 26, 2010 12:39 PM
To: l...
Subject: Re: [lpc2000] Assembly code from KEIL to ROWLEY
Am 26.10.2010 18:05, schrieb Michael Frazier:
[top posting fixed]
> ________________________________
> From: l...
[mailto:l...] On Behalf Of Prakash Rajoli > Sent: Tuesday, October 26, 2010 7:29 AM
> To: pc2000
> Subject: [lpc2000] Assembly code from KEIL to ROWLEY
> Hello,
>
> I am new to the assembly code. The code which I given below is compile(assembling) fine in KEIL. >
>> Go back to Keil
Or better: Read both manuals (hint: label syntax, assembler directives).
> ________________________________
> From: l... [mailto:l...] On Behalf Of Prakash Rajoli > Sent: Tuesday, October 26, 2010 7:29 AM
> To: pc2000
> Subject: [lpc2000] Assembly code from KEIL to ROWLEY
> Hello,
>
> I am new to the assembly code. The code which I given below is compile(assembling) fine in KEIL. >
>> Go back to Keil
Or better: Read both manuals (hint: label syntax, assembler directives).
> But when I switch from KEIL to ROWLEY CROSS WORKS.
The foolowing errors
> are getting during assembling.
>
> *Error: bad instruction 'area |.text|,CODE,READONLY'
>
> Error: bad instruction 'export vF_dspl_pid'
>
> Error: bad instruction 'vf_dspl_pid'
>
> Error: Thumb does not support this addressing mode -- 'ldrsh
r3,[r1]'
>
> Error: Thumb does not support this addressing mode -- 'ldrsh
r4,[r1,#2]'
>
> Error: Thumb does not support this addressing mode -- 'ldrsh
r5,[r1,#4]'
>
> Error: Thumb does not support this addressing mode -- 'ldrsh
r6,[r1,#6]'
>
> Error: Thumb does not support this addressing mode -- 'ldrsh
r6,[r1,#8]'
>
> Error: shifts in CMP/MOV instructions are only supported in unified
> syntax -- 'mov r7,r7,ASR#16'
>
> Error: bad instruction 'end'
> Build failed*
>
> Kindly give me suggession to get out of these errors.
Just off the top of my head...Read the GCC/AS documentation - find
example assembly files to copy - set up your build options for the
mode/cpu you are trying to compile for.
Regards,
Richard.
+ http://www.FreeRTOS.org
Designed for Microcontrollers. More than 7000 downloads per month.
+ http://www.SafeRTOS.com
Certified by T as meeting the requirements for safety related systems.
>
>
>
>
Reply by Michael Frazier●October 26, 20102010-10-26
Go back to Keil
________________________________
From: l... [mailto:l...] On Behalf Of Prakash Rajoli
Sent: Tuesday, October 26, 2010 7:29 AM
To: pc2000
Subject: [lpc2000] Assembly code from KEIL to ROWLEY
Hello,
I am new to the assembly code. The code which I given below is
compile(assembling) fine in KEIL.