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

SXTAH {,} , {, }<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 />

This can be any one of:<br />

omitted encoded as rotate = ’00’<br />

ROR #8 encoded as rotate = ’01’<br />

ROR #16 encoded as rotate = ’10’<br />

ROR #24 encoded as rotate = ’11’.<br />

Operation<br />

Note<br />

Instruction Details<br />

An assembler can permit ROR #0 to mean the same thing as omitting the rotation, possibly<br />

with restrictions on the permitted encodings, but this is not st<strong>and</strong>ard UAL <strong>and</strong> must not be<br />

used for disassembly.<br />

if ConditionPassed() then<br />

EncodingSpecificOperations();<br />

rotated = ROR(R[m], rotation);<br />

R[d] = R[n] + SignExtend(rotated, 32);<br />

Exceptions<br />

None.<br />

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

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

Saved successfully!

Ooh no, something went wrong!