![Texas Instruments SimpleLink Ethernet MSP432E401Y Technical Reference Manual Download Page 86](http://html1.mh-extra.com/html/texas-instruments/simplelink-ethernet-msp432e401y/simplelink-ethernet-msp432e401y_technical-reference-manual_1095578086.webp)
Programming Model
86
SLAU723A – October 2017 – Revised October 2018
Copyright © 2017–2018, Texas Instruments Incorporated
Cortex
®
-M4F Processor
Table 1-3. Cortex-M4F Access Type Codes
Access Type
Code
Description
Read Type
R
R
Read
Write Type
W
W
Write
Reset or Default Value
-
n
Value after reset or the default
value
1.4.2.1.1 Cortex General-Purpose Register 0 (R0) to Cortex General-Purpose Register 12 (R12)
R_0 to R_12 is shown in
and described in
Return to
The Rn registers are 32-bit general-purpose registers for data operations and can be accessed from either
privileged or unprivileged mode.
Figure 1-4. R_0 to R_12 Register
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10
9
8
7
6
5
4
3
2
1
0
DATA
R/W-0h
Table 1-4. R_0 to R_12 Register Field Descriptions
Bit
Field
Type
Reset
Description
31:0
DATA
R/W
0h
Register data
1.4.2.1.2 Stack Pointer (SP)
SP is shown in
and described in
Return to
The Stack Pointer (SP) is register R13. In thread mode, the function of this register changes depending on
the ASP bit in the Control Register (CONTROL) register. When the ASP bit is clear, this register is the
Main Stack Pointer (MSP). When the ASP bit is set, this register is the Process Stack Pointer (PSP). On
reset, the ASP bit is clear, and the processor loads the MSP with the value from address 0x0000.0000.
The MSP can only be accessed in privileged mode; the PSP can be accessed in either privileged or
unprivileged mode.
Figure 1-5. SP Register
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10
9
8
7
6
5
4
3
2
1
0
SP
R/W-X
Table 1-5. SP Register Field Descriptions
Bit
Field
Type
Reset
Description
31:0
SP
R/W
X
This field is the address of the stack pointer.