English
Language : 

RF60 Datasheet, PDF (71/157 Pages) –
RF60 CRYSTAL-LESS SOC TRANSMITTER v1.0
SFR Definition 21.6. PSW
Bit
7
6
5
Name CY
AC
F0
Type R/W
R/W
R/W
Reset
0
0
0
4
3
RS[1:0]
R/W
0
0
2
1
0
OV
F1
PARITY
R/W
R/W
R
0
0
0
SFR Address = 0xD0; Bit-Addressable
Bit Name
Function
7
CY Carry Flag.
This bit is set when the last arithmetic operation resulted in a carry (addition) or a bor-
row (subtraction). It is cleared to logic 0 by all other arithmetic operations.
6
AC Auxiliary Carry Flag.
This bit is set when the last arithmetic operation resulted in a carry into (addition) or a
borrow from (subtraction) the high order nibble. It is cleared to logic 0 by all other arith-
metic operations.
5
F0 User Flag 0.
This is a bit-addressable, general purpose flag for use under software control.
4:3 RS[1:0] Register Bank Select.
These bits select which register bank is used during register accesses.
00: Bank 0, Addresses 0x00-0x07
01: Bank 1, Addresses 0x08-0x0F
10: Bank 2, Addresses 0x10-0x17
11: Bank 3, Addresses 0x18-0x1F
2
OV Overflow Flag.
This bit is set to 1 under the following circumstances:
An ADD, ADDC, or SUBB instruction causes a sign-change overflow.
A MUL instruction results in an overflow (result is greater than 255).
A DIV instruction causes a divide-by-zero condition.
The OV bit is cleared to 0 by the ADD, ADDC, SUBB, MUL, and DIV instructions in all
other cases.
1
F1 User Flag 1.
This is a bit-addressable, general purpose flag for use under software control.
0 PARITY Parity Flag.
This bit is set to logic 1 if the sum of the eight bits in the accumulator is odd and cleared
if the sum is even.
Tel: +86-755-82973805
Fax: +86-755-82973550
71
E-mail: sales@hoperf.com http://www.hoperf.com