Figure 2−6. Pages of Data Memory
2.2.5
Stack Pointer (SP)
Data page
00 0000 0000 0000 00
.
.
.
00 0000 0000 0000 00
00 0000 0000 0000 01
.
.
.
00 0000 0000 0000 01
00 0000 0000 0000 10
.
.
.
00 0000 0000 0000 10
.
.
.
.
.
.
11 1111 1111 1111 11
.
.
.
11 1111 1111 1111 11
Data memory above 4M words is not accessible using the DP.
When operating in C2xLP source-compatible mode, a 7-bit offset is used and
the least significant bit of the DP register is ignored. See Appendix C for more
details.
The stack pointer (SP) enables the use of a software stack in data memory.
The stack pointer has only 16 bits and can only address the low 64K of data
space (see Figure 2−7). When the SP is used, the upper six bits of the 32-bit
address are forced to 0. (For information about addressing modes that use the
SP, see section 5.5 on page 5-9.). After reset, SP points to address
0000 0400
.
16
Offset
Data memory
00 0000
.
.
Page 0:
.
11 1111
00 0000
.
.
Page 1:
.
11 1111
00 0000
.
.
Page 2:
.
11 1111
.
.
.
.
.
.
.
.
.
.
.
.
00 0000
.
.
Page 65 535:
.
11 1111
Central Processing Unit
CPU Registers
0000 0000−0000 003F
0000 0040−0000 007F
0000 0080−0000 00BF
.
.
.
.
.
.
003F FFC0−003F FFFF
2-11
Need help?
Do you have a question about the TMS320C28x and is the answer not in the manual?