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.

Assembler syntax<br />

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

where:<br />

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

The destination register.<br />

The base register. The SP can be used.<br />

Instruction Details<br />

The immediate offset added to the value of to form the address. can be omitted,<br />

meaning an offset of 0. Values are:<br />

Encoding T1 multiples of 4 in the range 0-1020<br />

Encoding A1 omitted or 0.<br />

Operation<br />

if ConditionPassed() then<br />

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

address = R[n] + imm32;<br />

SetExclusiveMonitors(address,4);<br />

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

Exceptions<br />

Data Abort.<br />

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

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

Saved successfully!

Ooh no, something went wrong!