USER'S GUIDE

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

 

 

FLAGS

 

 

 

 

 

 

FLAGS

INSTRUCTION

C

OV

AC

INSTRUCTION

C OV 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.

050396 47/173

48

Page 48
Image 48
Mitsubishi DS907x SIP, DS5000TK manual Program Status Flags, Instructions That Affect Flag Settings, Flags Instruction OV AC