gc80c520a CORERIVER Semiconductor, gc80c520a Datasheet - Page 177

no-image

gc80c520a

Manufacturer Part Number
gc80c520a
Description
Midas1.0 Family Mask Rom/eprom/romless 8-bit Turbo Microcontrollers
Manufacturer
CORERIVER Semiconductor
Datasheet
15.32 Timer 2 High Byte Register (TH2)
This register contains the high byte of Timer 2.
15.33 Program Status Word Register (PSW)
Bit No.
Bit No.
CDh
D0h
RS1, RS0
Symbol
OV
CY
AC
F0
F1
MiDAS1.0 Family
R/W(0)
R/W(0)
TH2.7
CY
7
7
Function
Carry Flag. This bit is set when if the last arithmetic operation resulted in a carry (during
addition) or a borrow (during subtraction). Otherwise it is cleared to 0 by all arithmetic
operations.
Auxiliary Carry Flag. This bit is set to 1 if the last arithmetic operation resulted in a carry
into (during addition), or a borrow (during subtraction) from the high order nibble.
Otherwise it is cleared to 0 by all arithmetic operations.
User Flag 0. This is a general purpose flag for software control.
Register Bank Select. These bits select which register bank is addressed during register
accesses.
Overflow Flag. This bit is set to 1 if the last arithmetic operation resulted in a carry
(addition), borrow (subtraction), or overflow (multiply or divide). Otherwise it is cleared
to 0 by all arithmetic operations.
User Flag 1. This is a general purpose flag for software control.
RS1
0
0
1
1
R/W(0)
R/W(0)
TH2.6
AC
6
6
RS0
R/W(0)
R/W(0)
0
1
0
1
TH2.5
F0
5
5
R/W(0)
R/W(0)
TH2.4
RS1
Page 177 of 187
4
4
Register Bank
R/W(0)
R/W(0)
TH2.3
0
1
2
3
RS0
3
3
R/W(0)
R/W(0)
TH2.2
OV
2
2
R/W(0)
R/W(0)
TH2.1
F1
1
1
00H ~ 07H
08H ~ 0FH
10H ~ 17H
18H ~ 1FH
Address
R/W(0)
TH2.0
R(0)
0
0
P
PSW
TH2

Related parts for gc80c520a