
Preliminary W77C32
- 22 -
Timer 2 Capture MSB
Bit:
7
6
5
4
3
2
1
0
RCAP2H.7
RCAP2H.6
RCAP2H.5
RCAP2H.4
RCAP2H.3
RCAP2H.2
RCAP2H.1
RCAP2H.0
Mnemonic: RCAP2H
Address: CBh
RCAP2H:This register is used to capture the TH2 value when a timer 2 is configured in capture mode.
RCAP2H is also used as the MSB of a 16-bit reload value when timer 2 is configured in
auto-reload mode.
Timer 2 LSB
Bit:
7
6
5
4
3
2
1
0
TL2.7
TL2.6
TL2.5
TL2.4
TL2.3
TL2.2
TL2.1
TL2.0
Mnemonic: TL2
Address: CCh
TL2:
Timer 2 LSB
Timer 2 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
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.
Auxiliary carry: Set when the previous operation resulted in a carry from the high order nibble.
User flag 0: General purpose flag that can be set or cleared by the user.
RS.1-0:Register bank select bits:
RS1 RS0
Register bank
0
0
0
0
1
1
1
0
2
1
1
3
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.
Address: D0h
CY:
AC:
F0:
Address
00-07h
08-0Fh
10-17h
18-1Fh