Reference Tables for C2xLP Code Migration Topics
Table D−7. C2xLP and C28x Differences in Status Registers (Continued)
3 INTM bit in ST0 Cannot be saved if ST0 register
is saved
Saved along with ST0 register
4 Data page pointer
DP save
DP save/restored along with
ST0.
SST #0,mem ;store ST0
LST #0,mem ;load ST0
DP is a register, hence explicit store/
restore is required.
PUSH DP ;store DP
;to stack
PUSH DP:ST1 ; 32−bit
; save
POP DP ;load DP from
;stack
POP DP:ST1 ; 32−bit
; restore
Table D−8. C2xLp and C28x Differences in Memory Maps
Migration topic C2xLP C28x
1 Program memory 16−bit address
Size : 64kx16
Range :0x0000−0xFFFFh
22 – bit address
Size : 64kx16
mapped to Range :
0x3F 0000h – 0x3F FFFFh
2 Data memory Size : 64kx16
Range :0x0000−0xFFFFh
Size : 64kx16
mapped to Range :
0x00 0000h – 0x00 FFFFh
6
B2 Block Size: 32 words
Range: 0x0060−0x007F
Located in M0 Block 1Kx16
Size: 1K words
Range:
0x00 0060 –0x00 07Fh
7
B1 Block Size: 256 words
Range: 0x0100−0x01FF
(mirrored)
: 0x0200−0x02FF
Located in M0 Block − 1Kx16
Not Mirrored
Range:
0x00 0200 –0x00 02FFh
8
B0 Block Mirrored locations
Size: 256 words
Range: 0x0300−0x03FF
: 0x0400−0x04FF
Located in M0 Block − 1Kx16
Not Mirrored
Range:
0x00 0300 –0x00 03FFh