English
Language : 

DS80C320-MCG Datasheet, PDF (49/175 Pages) Dallas Semiconductor – High-Speed Microcontroller User Guide
Program Status Word (PSW)
7
6
5
SFR D0h CY
AC
F0
RW-0 RW-0 RW-0
4
RS1
RW-0
High-Speed Microcontroller User’s Guide
3
RS0
RW-0
2
0V
RW-0
1
F1
RW-0
0
PARITY
RW-0
R=Unrestricted Read, W=Unrestricted Write, -n=Value after Reset
CY
Bit 7
AC
Bit 6
F0
Bit 5
RS1, RS0
Bits 4-3
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 bit-addressable, general purpose flag for software control.
Register Bank Select 1–0. These bits select which register bank is addressed
during register accesses.
OV
Bit 2
F1
Bit 1
PARITY
Bit 0
RS1
RS0
REGISTER BANK ADDRESS
0
0
0
00h – 07h
0
1
1
08h – 0Fh
1
0
2
10h – 17h
1
1
3
18h – 1Fh
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 bit-addressable, general purpose flag for software control.
Parity Flag. This bit is set to 1 if the modulo-2 sum of the eight bits of the
accumulator is 1 (odd parity); and cleared to 0 on even parity.
49 of 175