Page 1 of 1

ARM question. Direct addressing?

PostPosted: Apr 6, 2004 @ 11:42am
by kornalius
Hi,

I would like to know if it's possible to get the value from an address directly in ARM. I mean right now I am using something like this:

ldr r1, [pc, #0x784]

But if the indirect value becomes more than 0xFFF I am screwed. Can I directly load a value from an address into a register?

ldr r1, 0x1BC23000

Regards,
Kornalius

Re: ARM question. Direct addressing?

PostPosted: Apr 6, 2004 @ 12:07pm
by Jinks

PostPosted: Apr 6, 2004 @ 12:19pm
by kornalius

PostPosted: Apr 6, 2004 @ 12:23pm
by Jinks

PostPosted: Apr 6, 2004 @ 12:44pm
by kornalius

PostPosted: Apr 6, 2004 @ 1:20pm
by Jinks

PostPosted: Apr 6, 2004 @ 1:45pm
by kornalius

PostPosted: Apr 6, 2004 @ 2:34pm
by Jinks

Re: ARM question. Direct addressing?

PostPosted: Apr 6, 2004 @ 4:33pm
by hm

PostPosted: Apr 6, 2004 @ 9:00pm
by kornalius

PostPosted: Apr 7, 2004 @ 4:07am
by hm

PostPosted: Apr 7, 2004 @ 8:21am
by refractor