
W79E804A/803A/802A
- 16 -
8. SPECIAL FUNCTION REGISTERS
The W79E804 series uses Special Function Registers (SFRs) to control and monitor peripherals and
their Modes. The SFRs reside in the register locations 80-FFh and are accessed by direct addressing
only. Some of the SFRs are bit addressable. This is very useful in cases where users wish to modify a
particular bit without changing the others. The SFRs that are bit addressable are those whose
addresses end in 0 or 8. The W79E804 series contain all the SFRs present in the standard 8052.
However some additional SFRs are added. In some cases the unused bits in the original 8052, have
been given new functions. The list of the SFRs is as follows.
F8
IP1
F0
B
P0ID
IP1H
E8
EIE
E0
ACC
D8
WDCON
PWMPL
PWM0L
PWM1L
PWMCON1
PWM2L
PWM3L
PWMCON2
D0
PSW
PWMPH
PWM0H
PWM1H
PWM2H
PWM3H
PWMCON3
C8
NVMCON
NVMDAT
C0
I2CON
I2ADDR
NVMADDR
TA
B8
IP0
SADEN
I2DAT
I2STATUS
I2CLK
I2TIMER
B0
P0M1
P0M2
P1M1
P1M2
P2M1
P2M2
IP0H
A8
IE
SADDR
CMP1
CMP2
A0
P2
KBI
AUXR1
98
SCON
SBUF
90
P1
DIVM
88
TCON
TMOD
TL0
TL1
TH0
TH1
CKCON
80
P0
SP
DPL
DPH
PCON
Table
8-1: Special Function Register Location Table
Note:
1. The SFRs in the column with dark borders are bit-addressable
2. The table is condensed with eight locations per row. Empty locations indicate that these are no registers at these
addresses. When a bit or register is not implemented, it will read high.