UM10429
All information provided in this document is subject to legal disclaimers.
© NXP B.V. 2010. All rights reserved.
User manual
Rev. 1 — 20 October 2010
178 of 258
NXP Semiconductors
UM10429
Chapter 19: Appendix LPC1102 ARM Cortex-M0 reference
[1]
Describes access type during program execution in thread mode and Handler mode. Debug access can
differ.
[2]
Bit[24] is the T-bit and is loaded from bit[0] of the reset vector.
19.3.1.3.1
General-purpose registers
R0-R12 are 32-bit general-purpose registers for data operations.
19.3.1.3.2
Stack Pointer
The Stack Pointer (SP) is register R13. In Thread mode, bit[1] of the CONTROL register
indicates the stack pointer to use:
•
0 =
Main Stack Pointer
(MSP). This is the reset value.
•
1 =
Process Stack Pointer
(PSP).
Fig 36. Processor core register set
Table 192. Core register set summary
Name
Type
Reset value
Description
R0-R12
RW
Unknown
MSP
RW
See description
PSP
RW
Unknown
LR
RW
Unknown
PC
RW
See description
PSR
RW
Unknown
APSR
RW
Unknown
IPSR
RO
0x00000000
EPSR
RO
Unknown
PRIMASK
RW
0x00000000
CONTROL
RW
0x00000000
Program Counter
SP (R13)
LR (R14)
PC (R15)
R5
R6
R7
R0
R1
R3
R4
R2
R10
R11
R12
R8
R9
Low registers
High registers
MSP
PSP
CONTROL
PSR
Link Register
Stack Pointer
General purpose registers
Program Status Register
Control Register
Special registers
PRIMASK
Interrupt mask register