English
Language : 

W77IE58_06 Datasheet, PDF (25/82 Pages) Winbond – 8-BIT MICROCONTROLLER
W77IE58/W77I058A
Timer2 MSB
Bit:
7
6
5
4
3
2
1
0
TH2.7 TH2.6 TH2.5 TH2.4 TH2.3 TH2.2 TH2.1 TH2.0
Mnemonic: TH2
Address: CDh
TH2: Timer 2 MSB
Program Status Word
Bit:
7
6
5
4
3
2
1
0
CY
AC
F0
RS1 RS0
OV
F1
P
Mnemonic: PSW
Address: D0h
CY: Carry flag: Set for an arithmetic operation which results in a carry being generated from the
ALU. It is also used as the accumulator for the bit operations.
AC: Auxiliary carry: Set when the previous operation resulted in a carry from the high order nibble.
F0: User flag 0: General purpose flag that can be set or cleared by the user.
RS.1-0: Register bank select bits:
RS1 RS0
0
0
0
1
1
0
1
1
Register bank
0
1
2
3
Address
00-07h
08-0Fh
10-17h
18-1Fh
OV: Overflow flag: Set when a carry was generated from the seventh bit but not from the 8th bit as
a result of the previous operation, or vice-versa.
F1: User Flag 1: General purpose flag that can be set or cleared by the user by software.
P:
Parity flag: Set/cleared by hardware to indicate odd/even number of 1's in the accumulator.
Watchdog Control
Bit:
7
6
5
SMOD_1 POR
-
4
3
2
1
0
-
WDIF WTRF EWT RWT
Mnemonic: WDCON
Address: D8h
SMOD_1:This bit doubles the Serial Port 1 baud rate in mode 1, 2, and 3 when set to 1.
POR: Power-on reset flag. Hardware will set this flag on a power up condition. This flag can be read
or written by software. A write by software is the only way to clear this bit once it is set.
WDIF: Watchdog Timer Interrupt Flag. If the watchdog interrupt is enabled, hardware will set this bit
to indicate that the watchdog interrupt has occurred. If the interrupt is not enabled, then this bit
indicates that the time-out period has elapsed. This bit must be cleared by software.
- 25 -
Publication Release Date: November 10, 2006
Revision A7