[ECOS] simple question
Gary Thomas
gthomas@ecoscentric.com
Sat Sep 14 07:47:00 GMT 2002
On Fri, 2002-09-13 at 22:20, Vinayak P Risbud wrote:
> ldr r0,=10f
>
> In arm assembly language, can anyone tell me, what is the
> meaning of above statement ?
It puts the address of the local label '10' into register r0,
using a pc-relative addressing mode. It's functionally equivalent
to:
ldr r0,.10f
.data
.10f: .long 10f
.text
...
10:
--
------------------------------------------------------------
Gary Thomas |
eCosCentric, Ltd. |
+1 (970) 229-1963 | eCos & RedBoot experts
gthomas@ecoscentric.com |
http://www.ecoscentric.com/ |
------------------------------------------------------------
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss
More information about the Ecos-discuss
mailing list