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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

A6.3.15 Miscellaneous operations<br />

Thumb Instruction Set Encoding<br />

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0<br />

1 1 1 1 1 0 1 0 1 0 op1 1 1 1 1 1 0 op2<br />

If, in the second halfword of the instruction, bits [15:12] != 0b1111, the instruction is UNDEFINED.<br />

Table A6-26 shows the allocation of encodings in this space. Other encodings in this space are UNDEFINED.<br />

These encodings are all available in <strong>ARM</strong>v6T2 <strong>and</strong> above.<br />

op1 op2 Instruction See<br />

Table A6-26 Miscellaneous operations<br />

00 00 Saturating Add QADD on page A8-250<br />

01 Saturating Double <strong>and</strong> Add QDADD on page A8-258<br />

10 Saturating Subtract QSUB on page A8-264<br />

11 Saturating Double <strong>and</strong> Subtract QDSUB on page A8-260<br />

01 00 Byte-Reverse Word REV on page A8-272<br />

01 Byte-Reverse Packed Halfword REV16 on page A8-274<br />

10 Reverse Bits RBIT on page A8-270<br />

11 Byte-Reverse Signed Halfword REVSH on page A8-276<br />

10 00 Select Bytes SEL on page A8-312<br />

11 00 Count Leading Zeros CLZ on page A8-72<br />

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

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

Saved successfully!

Ooh no, something went wrong!