Reference Tables for C2xLP Code Migration Topics
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
Summary of Contents for TMS320C28x
Page 30: ...1 12...
Page 80: ...This page intentionally left blank 2 50 This page intentionally left blank...
Page 269: ...IN loc16 PA 6 112 MOV AL 0 AL 0 UOUT IORegC AL IOspace IORegC AL 10...
Page 308: ...MAXCUL P loc32 6 151 Saturate MOVL Var64 2 ACC Store result into Var64 MOVL Var64 P...
Page 509: ...SUBL ACC P PM 6 352 SUBL ACC P PM ACC S B 11 M X 4 MOVH Y ACC 5 Store Q15 result into Y...
Page 585: ...This page intentionally left blank 7 32 This page intentionally left blank...