Philips Semiconductors
Preliminary data
P89C51RB2/P89C51RC2/
P89C51RD2
80C51 8-bit Flash microcontroller family
16KB/32KB/64KB ISP/IAP Flash with 512B/512B/1KB RAM
2001 Jun 27
8
Table 1.
Special Function Registers
SYMBOL
DESCRIPTION
DIRECT
ADDRESS
BIT ADDRESS, SYMBOL, OR ALTERNATIVE PORT FUNCTION
MSB
LSB
RESET
VALUE
ACC*
Accumulator
E0H
E7
E6
E5
E4
E3
E2
E1
E0
00H
AUXR#
Auxiliary
8EH
–
EXTRAM
AO
xxxxxx00B
AUXR1#
Auxiliary 1
A2H
–
ENBOOT
–
GF2
0
–
DPS
xxxxxxx0B
B*
B register
F0H
F7
F6
F5
F4
F3
F2
F1
F0
00H
CCAP0H#
Module 0 Capture High
FAH
xxxxxxxxB
CCAP1H#
Module 1 Capture High
FBH
xxxxxxxxB
CCAP2H#
Module 2 Capture High
FCH
xxxxxxxxB
CCAP3H#
Module 3 Capture High
FDH
xxxxxxxxB
CCAP4H#
Module 4 Capture High
FEH
xxxxxxxxB
CCAP0L#
Module 0 Capture Low
EAH
xxxxxxxxB
CCAP1L#
Module 1 Capture Low
EBH
xxxxxxxxB
CCAP2L#
Module 2 Capture Low
ECH
xxxxxxxxB
CCAP3L#
Module 3 Capture Low
EDH
xxxxxxxxB
CCAP4L#
Module 4 Capture Low
EEH
xxxxxxxxB
CCAPM0#
Module 0 Mode
DAH
–
ECOM
CAPP
CAPN
MAT
TOG
PWM
ECCF
x0000000B
CCAPM1#
Module 1 Mode
DBH
–
ECOM
CAPP
CAPN
MAT
TOG
PWM
ECCF
x0000000B
CCAPM2#
Module 2 Mode
DCH
–
ECOM
CAPP
CAPN
MAT
TOG
PWM
ECCF
x0000000B
CCAPM3#
Module 3 Mode
DDH
–
ECOM
CAPP
CAPN
MAT
TOG
PWM
ECCF
x0000000B
CCAPM4#
Module 4 Mode
DEH
–
ECOM
CAPP
CAPN
MAT
TOG
PWM
ECCF
x0000000B
DF
DE
DD
DC
DB
DA
D9
D8
CCON*#
PCA Counter Control
D8H
CF
CR
–
CCF4
CCF3
CCF2
CCF1
CCF0
00x00000B
CH#
PCA Counter High
F9H
00H
CL#
PCA Counter Low
E9H
00H
CMOD#
PCA Counter Mode
D9H
CIDL
WDTE
–
CPS1
CPS0
ECF
00xxx000B
DPTR:
Data Pointer (2 bytes)
DPH
Data Pointer High
83H
00H
DPL
Data Pointer Low
82H
00H
AF
AE
AD
AC
AB
AA
A9
A8
IE*
Interrupt Enable 0
A8H
EA
EC
ET2
ES
ET1
EX1
ET0
EX0
00H
BF
BE
BD
BC
BB
BA
B9
B8
IP*
Interrupt Priority
B8H
–
PPC
PT2
PS
PT1
PX1
PT0
PX0
x0000000B
B7
B6
B5
B4
B3
B2
B1
B0
IPH#
Interrupt Priority High
B7H
–
PPCH
PT2H
PSH
PT1H
PX1H
PT0H
PX0H
x0000000B
87
86
85
84
83
82
81
80
P0*
Port 0
80H
AD7
AD6
AD5
AD4
AD3
AD2
AD1
AD0
FFH
97
96
95
94
93
92
91
90
P1*
Port 1
90H
CEX4
CEX3
CEX2
CEX1
CEX0
ECI
T2EX
T2
FFH
A7
A6
A5
A4
A3
A2
A1
A0
P2*
Port 2
A0H
AD15
AD14
AD13
AD12
AD11
AD10
AD9
AD8
FFH
B7
B6
B5
B4
B3
B2
B1
B0
P3*
Port 3
B0H
RD
WR
T1
T0
INT1
INT0
TxD
RxD
FFH
PCON#1
Power Control
87H
SMOD1
SMOD0
–
POF
GF1
GF0
PD
IDL
00xxx000B
*
SFRs are bit addressable.
#
SFRs are modified from or added to the 80C51 SFRs.
–
Reserved bits.
1. Reset value depends on reset source.