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.

A6.2.5 Miscellaneous 16-bit instructions<br />

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

1 0 1 1 Opcode<br />

Thumb Instruction Set Encoding<br />

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

Table A6-6 Miscellaneous 16-bit instructions<br />

Opcode Instruction See Variant<br />

0110010 Set Endianness SETEND on page A8-314 v6<br />

0110011 Change Processor State CPS on page B6-3 v6<br />

00000xx Add Immediate to SP ADD (SP plus immediate) on page A8-28 v4T<br />

00001xx Subtract Immediate from SP SUB (SP minus immediate) on page A8-426 v4T<br />

0001xxx Compare <strong>and</strong> Branch on Zero CBNZ, CBZ on page A8-66 v6T2<br />

001000x Signed Extend Halfword SXTH on page A8-444 v6<br />

001001x Signed Extend Byte SXTB on page A8-440 v6<br />

001010x Unsigned Extend Halfword UXTH on page A8-524 v6<br />

001011x Unsigned Extend Byte UXTB on page A8-520 v6<br />

0011xxx Compare <strong>and</strong> Branch on Zero CBNZ, CBZ on page A8-66 v6T2<br />

010xxxx Push Multiple Registers PUSH on page A8-248 v4T<br />

1001xxx Compare <strong>and</strong> Branch on Nonzero CBNZ, CBZ on page A8-66 v6T2<br />

101000x Byte-Reverse Word REV on page A8-272 v6<br />

101001x Byte-Reverse Packed Halfword REV16 on page A8-274 v6<br />

101011x Byte-Reverse Signed Halfword REVSH on page A8-276 v6<br />

1011xxx Compare <strong>and</strong> Branch on Nonzero CBNZ, CBZ on page A8-66 v6T2<br />

110xxxx Pop Multiple Registers POP on page A8-246 v4T<br />

1110xxx Breakpoint BKPT on page A8-56 v5<br />

1111xxx If-Then, <strong>and</strong> hints If-Then, <strong>and</strong> hints on page A6-12 -<br />

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

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

Saved successfully!

Ooh no, something went wrong!