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.

A2.5 Execution state registers<br />

The execution state registers modify the execution of instructions. They control:<br />

Application Level Programmers’ Model<br />

Whether instructions are interpreted as Thumb instructions, <strong>ARM</strong> instructions, ThumbEE<br />

instructions, or Java bytecodes. For more information, see ISETSTATE.<br />

In Thumb state <strong>and</strong> ThumbEE state only, what conditions apply to the next four instructions. For<br />

more information, see ITSTATE on page A2-17.<br />

Whether data is interpreted as big-endian or little-endian. For more information, see ENDIANSTATE<br />

on page A2-19.<br />

In <strong>ARM</strong>v7-A <strong>and</strong> <strong>ARM</strong>v7-R, the execution state registers are part of the Current Program Status Register.<br />

For more information, see Program Status Registers (PSRs) on page B1-14.<br />

There is no direct access to the execution state registers from application level instructions, but they can be<br />

changed by side effects of application level instructions.<br />

A2.5.1 ISETSTATE<br />

The J bit <strong>and</strong> the T bit determine the instruction set used by the processor. Table A2-1 shows the encoding<br />

of these bits.<br />

<strong>ARM</strong> state The processor executes the <strong>ARM</strong> instruction set described in Chapter A5 <strong>ARM</strong><br />

Instruction Set Encoding.<br />

Thumb state The processor executes the Thumb instruction set as described in Chapter A6<br />

Thumb Instruction Set Encoding.<br />

Jazelle state The processor executes Java bytecodes as part of a Java Virtual Machine (JVM). For<br />

more information, see Jazelle direct bytecode execution support on page A2-73.<br />

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

1 0<br />

J T<br />

Table A2-1 J <strong>and</strong> T bit encoding in ISETSTATE<br />

J T Instruction set state<br />

0 0 <strong>ARM</strong><br />

0 1 Thumb<br />

1 0 Jazelle<br />

1 1 ThumbEE

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

Saved successfully!

Ooh no, something went wrong!