Microcontroller User's Guide
USER’S GUIDE
050396 47/173
48
Program Status Flags
All of the Program Status flags are contained in the PSW
register. Instructions which affect the states of the flags
are summarized below.
INSTRUCTIONS THAT AFFECT FLAG SETTINGS
INSTRUCTION
FLAGS
C OV AC INSTRUCTION
FLAGS
COV AC
ADD CLR C 0
ADDC CPL C
SUBB ANL C, bit
MUL 0 ANL C, bit
DIV 0 ORL C, bit
DA ORL C, bit
RRC MOV C, bit
RLC CJNE
SETB C 1
LEGEND:
0 = Cleared to 0
1 = Set to a 1
= Modified according to the result of the operation.