Fujitsu F2MC-8FX Computer Hardware User Manual


 
235
APPENDIX A Instruction List
Table A.3-2 Flag Change Table (for Operation Instructions) (1/3)
Instruction Flag change
ADDC A, Ri N: Set to 1 if the result of operation is negative and set to 0 in other cases.
ADDC A, #d8 Z: Set to 1 if the result of operation is 0 and set to 0 in other cases.
ADDC A, dir V: Set to 1 if an overflow occurs and set to 0 in other cases.
ADDC A, @IX+off C: Set to 1 if a carry occurs and set to 0 in other cases.
ADDC A, @EP
ADDC A N: Set to 1 if the result of operation is negative and set to 0 in other cases.
ADDCW A Z: Set to 1 if the result of operation is 0 and set to 0 in other cases.
V: Set to 1 if an overflow occurs and set to 0 in other cases.
C: Set to 1 if a carry occurs and set to 0 in other cases.
SUBC A, Ri N: Set to 1 if the result of operation is negative and set to 0 in other cases.
SUBC A, #d8 Z: Set to 1 if the result of operation is 0 and set to 0 in other cases.
SUBC A, dir V: Set to 1 if an overflow occurs and set to 0 in other cases.
SUBC A, @IX+off C: Set to 1 if a borrow occurs and set to 0 in other cases.
SUBC A, @EP
SUBC A N: Set to 1 if the result of operation is negative and set to 0 in other cases.
SUBCW A Z: Set to 1 if the result of operation is 0 and set to 0 in other cases.
V: Set to 1 if an overflow occurs and set to 0 in other cases.
C: Set to 1 if a borrow occurs and set to 0 in other cases.
INC Ri N: Set to 1 if the result of operation is negative and set to 0 in other cases.
Z: Set to 1 if the result of operation is 0 and set to 0 in other cases.
V: Set to 1 if an overflow occurs and set to 0 in other cases.
C: Not changed
INCW EP N: Not changed
INCW IX Z: Not changed
INCW SP V: Not changed
C: Not changed
INCW A N: Set to 1 if the result of operation is negative and set to 0 in other cases.
Z: Set to 1 if the result of operation is 0 and set to 0 in other cases.
V: Not changed
C: Not changed
DEC Ri N: Set to 1 if the result of operation is negative and set to 0 in other cases.
Z: Set to 1 if the result of operation is 0 and set to 0 in other cases.
V: Set to 1 if an overflow occurs and set to 0 in other cases.
C: Not changed