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.

The Saved Program Status Registers (SPSRs)<br />

<strong>ARM</strong>v6 Differences<br />

The SPSRs are defined as they are in <strong>ARM</strong>v7, see The Saved Program Status Registers (SPSRs) on<br />

page B1-15, except that the IT[7:0] bits are not implemented before <strong>ARM</strong>v6T2.<br />

Format of the CPSR <strong>and</strong> SPSRs<br />

The format of the CPSR <strong>and</strong> SPSRs is the same as <strong>ARM</strong>v7:<br />

31 30 29 28 27 26 25 24 23 20 19 16 15 10 9 8 7 6 5 4 0<br />

N Z C V Q IT<br />

[1:0]<br />

J Reserved GE[3:0] IT[7:2] E A I F T M[4:0]<br />

In <strong>ARM</strong>v6T2, the definitions <strong>and</strong> general rules for PSR bits <strong>and</strong> support of Non-Maskable Fast Interrupts<br />

(NMFI) are the same as <strong>ARM</strong>v7. For more information, see Format of the CPSR <strong>and</strong> SPSRs on page B1-16<br />

<strong>and</strong> Non-maskable fast interrupts on page B1-18.<br />

<strong>ARM</strong>v6 <strong>and</strong> <strong>ARM</strong>v6K have the following differences:<br />

Bits[26:25] are RAZ/WI.<br />

Bits[15:10] are reserved.<br />

The J <strong>and</strong> T bits of the CPSR must not be changed when the CPSR is written by an MSR instruction,<br />

or else the behavior is UNPREDICTABLE. MSR instructions exist only in <strong>ARM</strong> state in these architecture<br />

variants, so this is equivalent to saying the MSR instructions in privileged modes must treat these bits<br />

as SBZP. MSR instructions in User mode still ignore writes to these bits.<br />

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

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

Saved successfully!

Ooh no, something went wrong!