Fujitsu F2MC-8FX manual Table A.3-2 Flag Change Table for Operation Instructions 1/3

Models: F2MC-8FX

1 272
Download 272 pages 2.67 Kb
Page 247
Image 247

 

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

 

 

 

 

235

Page 247
Image 247
Fujitsu F2MC-8FX manual Table A.3-2 Flag Change Table for Operation Instructions 1/3