AT/TS80C31X2
4. SFR Mapping
The Special Function Registers (SFRs) of the TS80C31X2 fall into the following categories:
Table 4-1.
• C51 core registers: ACC, B, DPH, DPL, PSW, SP, AUXR1
• I/O port registers: P0, P1, P2, P3
• Timer registers: TCON, TH0, TH1, TMOD, TL0, TL1
• Serial I/O port registers: SADDR, SADEN, SBUF, SCON
• Power and clock control registers: PCON
• Interrupt system registers: IE, IP, IPH
• Others: CKCON
All SFRs with their address and their reset value
Bit
addressable
Non Bit addressable
0/8
1/9
2/A
3/B
4/C
5/D
6/E
7/F
F8h
FFh
F0h
B
0000 0000
F7h
E8h
EFh
E0h
ACC
0000 0000
E7h
D8h
DFh
D0h
PSW
0000 0000
D7h
C8h
CFh
C0h
C7h
IP
B8h
XXX0 0000
P3
B0h
1111 1111
IE
A8h
0XX0 0000
P2
A0h
1111 1111
SCON
98h
0000 0000
P1
90h
1111 1111
TCON
88h
0000 0000
P0
80h
1111 1111
0/8
Reserved
SADEN
0000 0000
SADDR
0000 0000
SBUF
XXXX XXXX
AUXR1
XXXX XXX0
TMOD
0000 0000
SP
0000 0111
1/9
TL0
0000 0000
DPL
0000 0000
2/A
TL1
0000 0000
DPH
0000 0000
3/B
TH0
0000 0000
4/C
TH1
0000 0000
5/D
BFh
IPH
XXX0 0000
B7h
AFh
A7h
9Fh
97h
CKCON
8Fh
XXXX XXX0
PCON
87h
00X1 0000
6/E
7/F
3
4428E–8051–02/08