
24
T89C5115
4128A–8051–04/02
Registers Table 16. PSW Register
PSW (S:8Eh)
Program Status Word Register
Reset Value = 0000 0000b
76543210
CY AC F0 RS1 RS0 OV F1 P
Bit
Number
Bit
Mnemonic Description
7CY
Carry Flag
Carry out from bit 1 of ALU operands.
6AC
Auxiliary Carry Flag
Carry out from bit 1 of addition operands.
5F0User Definable Flag 0
4-3 RS1:0
Register Bank Select Bits
Refer to Table for bits description.
2OV
Overflow Flag
Overflow set by arithmetic operations.
1F1User Definable Flag 1
0P
Parity Bit
Set when ACC contains an odd number of 1’s.
Cleared when ACC contains an even number of 1’s.
Kommentare zu diesen Handbüchern