
DR
AFT
DR
AFT
DRAFT
DR
D
RAFT
DRAFT
DRA
FT DRAF
D
RAFT DRAFT DRAFT DRAFT DRAFT D
DRAFT
D
RAFT DRA
FT DRAFT DRAFT DRAFT DRA
UM10360_0
© NXP B.V. 2009. All rights reserved.
User manual
Rev. 00.06 — 5 June 2009
701 of 808
NXP Semiconductors
UM10360
Chapter 34: Appendix: Cortex-M3 User Guide
Execution Program Status Register:
The EPSR contains the Thumb state bit, and the
execution state bits for either the:
•
If-Then
(IT) instruction
•
Interruptible-Continuable Instruction
(ICI) field for an interrupted load multiple or
store multiple instruction.
See the register summary in
for the EPSR attributes. The bit assignments
are:
Table 601.
IPSR bit assignments
Bits
Name
Function
[31:9]
-
Reserved
[8:0]
ISR_NUMBER
This is the number of the current exception:
0 = Thread mode
1 = Reserved
2 = NMI
3 = Hard fault
4 = Memory management fault
5 = Bus fault
6 = Usage fault
7-10 = Reserved
11 = SVCall
12 = Reserved for Debug
13 = Reserved
14 = PendSV
15 = SysTick
16 = IRQ0
17 = IRQ1, first device specific interrupt
.
.
255 = IRQ243 (last implemented interrupt depends on device)
for more information.
Table 602.
EPSR bit assignments
Bits
Name
Function
[31:27]
-
Reserved.
[26:25], [15:10]
ICI
Interruptible-continuable instruction bits, see
[26:25], [15:10]
IT
Indicates the execution state bits of the
IT
instruction, see
[24]
T
Always set to 1.
[23:16]
-
Reserved.
[9:0]
-
Reserved.