05.02.2013 Views

ARM Architecture Reference Manual ARMv7-A and ARMv7-R edition

ARM Architecture Reference Manual ARMv7-A and ARMv7-R edition

ARM Architecture Reference Manual ARMv7-A and ARMv7-R edition

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

ThumbEE<br />

Assembler syntax<br />

LDR , [{, #}]<br />

where:<br />

See St<strong>and</strong>ard assembler syntax fields on page A8-7.<br />

The destination register.<br />

The base register. This register is:<br />

R9 for encoding E1<br />

R10 for encoding E2<br />

any of R0-R7 for encoding E3.<br />

The immediate offset used to form the address. Values are multiples of 4 in the range:<br />

0-252 encoding E1<br />

0-124 encoding E2<br />

–28-0 encoding E3.<br />

can be omitted, meaning an offset of 0.<br />

Operation<br />

if ConditionPassed() then<br />

EncodingSpecificOperations(); NullCheckIfThumbEE(n);<br />

address = if add then (R[n] + imm32) else (R[n] - imm32);<br />

R[t] = MemU[address,4];<br />

Exceptions <strong>and</strong> checks<br />

Data Abort, NullCheck.<br />

A9-20 Copyright © 1996-1998, 2000, 2004-2008 <strong>ARM</strong> Limited. All rights reserved. <strong>ARM</strong> DDI 0406B

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!