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.

Application Level Programmers’ Model<br />

The format of the JMCR is:<br />

31 1 0<br />

SUBARCHITECTURE DEFINED JE<br />

bit [31:1] SUBARCHITECTURE DEFINED information.<br />

JE, bit [0] Jazelle Enable bit:<br />

0 Jazelle extension disabled. The BXJ instruction does not cause Jazelle state<br />

execution. BXJ behaves exactly as a BX instruction, see Jazelle state entry<br />

instruction, BXJ on page A2-74.<br />

1 Jazelle extension enabled.<br />

The reset value of this bit is 0.<br />

To access the JMCR, read or write the CP14 registers with an MRC or MCR instruction with set to 7,<br />

set to c2, set to c0, <strong>and</strong> set to 0. For example:<br />

MRC p14, 7, , c2, c0, 0 ; Read Jazelle Main Configuration register<br />

MCR p14, 7, , c2, c0, 0 ; Write Jazelle Main Configuration register<br />

Access to Jazelle registers<br />

Table A2-14 shows the access permissions for the Jazelle registers, <strong>and</strong> how unprivileged access to the<br />

registers depends on the value of the JOSCR.<br />

Jazelle register<br />

JIDR<br />

JMCR<br />

SUBARCHITECTURE<br />

DEFINED configuration<br />

registers<br />

Unprivileged access<br />

JOSCR.CD == 0 a JOSCR.CD == 1 a<br />

Table A2-14 Access to Jazelle registers<br />

Privileged access<br />

Read access permitted<br />

Read <strong>and</strong> write access<br />

Read access permitted<br />

Write access ignored<br />

UNDEFINED<br />

Write access ignored<br />

Read access UNDEFINED<br />

Write access permitted<br />

Read <strong>and</strong> write access<br />

UNDEFINED<br />

Read <strong>and</strong> write access permitted<br />

Read access UNDEFINED<br />

Read access SUBARCHITECTURE<br />

Read <strong>and</strong> write access<br />

UNDEFINED<br />

DEFINED<br />

Write access permitted Write access permitted<br />

a. See Jazelle OS Control Register (JOSCR) on page B1-77.<br />

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

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

Saved successfully!

Ooh no, something went wrong!