
Rev.A - May 17, 2001 9
Preliminary
T89C51CC02
5. SFR Mapping
The Special Function Registers (SFRs) of the T89C51CC02 fall into the following categories:
Table 3. C51 Core SFRs
Table 4. I/O Port SFRs
Table 5. Timers SFRs
Table 6. Serial I/O Port SFRs
Mnemonic Add Name 7 6 5 4 3 2 1 0
ACC E0h Accumulator
B F0h B Register
PSW D0h Program Status Word
SP 81h
Stack Pointer
LSB of SPX
DPL 82h
Data Pointer Low byte
LSB of DPTR
DPH 83h
Data Pointer High byte
MSB of DPTR
Mnemonic Add Name 7 6 5 4 3 2 1 0
P1 90h Port 1
P2 A0h Port 2 (x2)
P3 B0h Port 3
P4 C0h Port 4 (x2)
Mnemonic Add Name 7 6 5 4 3 2 1 0
TH0 8Ch Timer/Counter 0 High byte
TL0 8Ah Timer/Counter 0 Low byte
TH1 8Dh Timer/Counter 1 High byte
TL1 8Bh Timer/Counter 1 Low byte
TH2 CDh Timer/Counter 2 High byte
TL2 CCh Timer/Counter 2 Low byte
TCON 88h Timer/Counter 0 and 1 control
TF1 TR1 TF0 TR0 IE1 IT1 IE0 IT0
TMOD 89h Timer/Counter 0 and 1 Modes
GATE1 C/T1# M11 M01 GATE0 C/T0# M10 M00
T2CON C8h Timer/Counter 2 control
TF2 EXF2 RCLK TCLK EXEN2 TR2 C/T2# CP/RL2#
T2MOD C9h Timer/Counter 2 Mode
- - - - - - T2OE DCEN
RCAP2H CBh
Timer/Counter 2 Reload/Capture
High byte
RCAP2L CAh
Timer/Counter 2 Reload/Capture
Low byte
WDTRST A6h WatchDog Timer Reset
WDTPRG A7h WatchDog Timer Program
-----S2S1S0
Mnemonic Add Name 7 6 5 4 3 2 1 0
SCON 98h Serial Control
FE/SM0 SM1 SM2 REN TB8 RB8 TI RI
SBUF 99h Serial Data Buffer
SADEN B9h Slave Address Mask
SADDR A9h Slave Address
Comentarios a estos manuales