English
Language : 

W77C32_07 Datasheet, PDF (10/78 Pages) Winbond – 8-BIT MICROCONTROLLER
W77C32/W77C032A
7. SPECIAL FUNCTION REGISTERS
The W77C032 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 one wishes 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 W77C032 contains all the SFRs present in the standard 8052. However, some additional
SFRs have been added. In some cases unused bits in the original 8052 have been given new
functions. The list of SFRs is as follows. The table is condensed with eight locations per row. Empty
locations indicate that there are no registers at these addresses. When a bit or register is not
implemented, it will read high.
Table 1. Special Function Register Location Table
F8 EIP
F0 B
E8 EIE
E0 ACC
D8 WDCON
D0 PSW
C8 T2CON T2MOD RCAP2L RCAP2H TL2
C0 SCON1 SBUF1 ROMMAP
PMR
B8 IP
SADEN SADEN1
B0 P3
A8 IE
SADDR SADDR1
A0 P2
98 SCON0 SBUF
90 P1
EXIF
88 TCON TMOD TL0
TL1
TH0
80 P0
SP
DPL
DPH
DPL1
Note: The SFRs in the column with dark borders are bit-addressable.
TH2
STATUS
TA
P4
TH1
DPH1
CKCON
DPS
PCON
A brief description of the SFRs now follows.
Port 0
Bit:
7
6
5
4
3
2
1
0
P0.7 P0.6 P0.5 P0.4 P0.3 P0.2 P0.1 P0.0
Mnemonic: P0
Address: 80h
Port 0 is an open-drain bi-directional I/O port. This port also provides a multiplexed low order
address/data bus during accesses to external memory.
- 10 -