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.

Change Processor State, <strong>and</strong> hints<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 0 0 1 1 1 0 1 0 1 0 0 op1 op2<br />

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

hints that execute as NOPs. These unallocated hint encodings are reserved <strong>and</strong> software must not use them.<br />

Miscellaneous control instructions<br />

Table A6-14 Change Processor State, <strong>and</strong> hint instructions<br />

op1 op2 Instruction See Variant<br />

not 000 - Change Processor State CPS on page B6-3 v6T2<br />

000 00000000 No Operation hint NOP on page A8-222 v6T2<br />

00000001 Yield hint YIELD on page A8-812 v7<br />

00000010 Wait For Event hint WFE on page A8-808 v7<br />

00000011 Wait For Interrupt hint WFI on page A8-810 v7<br />

00000100 Send Event hint SEV on page A8-316 v7<br />

1111xxxx Debug hint DBG on page A8-88 v7<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 0 0 1 1 1 0 1 1 1 0 0 op<br />

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

in <strong>ARM</strong>v7. They are UNPREDICTABLE in <strong>ARM</strong>v6.<br />

Table A6-15 Miscellaneous control instructions<br />

op Instruction See Variant<br />

0000 Leave ThumbEE state a ENTERX, LEAVEX on page A9-7 ThumbEE<br />

0001 Enter ThumbEE state ENTERX, LEAVEX on page A9-7 ThumbEE<br />

0010 Clear-Exclusive CLREX on page A8-70 v7<br />

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

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

Saved successfully!

Ooh no, something went wrong!