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 />

USAX {,} , <br />

where:<br />

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

The destination register.<br />

The first oper<strong>and</strong> register.<br />

The second oper<strong>and</strong> register.<br />

The pre-UAL syntax USUBADDX is equivalent to USAX.<br />

Operation<br />

if ConditionPassed() then<br />

EncodingSpecificOperations();<br />

sum = UInt(R[n]) + UInt(R[m]);<br />

diff = UInt(R[n]) - UInt(R[m]);<br />

R[d] = sum;<br />

R[d] = diff;<br />

APSR.GE = if sum >= 0x10000 then ‘11’ else ‘00’;<br />

APSR.GE = if diff >= 0 then ‘11’ else ‘00’;<br />

Exceptions<br />

None.<br />

Instruction Details<br />

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

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

Saved successfully!

Ooh no, something went wrong!