APPENDIX

Table A.3-2 Flag Change Table (for Operation Instructions) (2/3)

Instruction

Flag change

 

 

DECW EP

N: Not changed

DECW IX

Z: Not changed

DECW SP

V: Not changed

 

C: Not changed

 

 

DECW 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

 

 

MULU A

N: Not changed

 

Z: Not changed

 

V: Not changed

 

C: Not changed

 

 

DIVU A

N: Not changed

 

Z: Set to 1 if A before operation is 0000H and set to 0 in other cases.

 

V: Not changed

 

C: Not changed

 

 

ANDW 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: Always Set to 0

 

C: Not changed

 

 

AND A, #d8

N: Set to 1 if the result of operation is negative and set to 0 in other cases.

AND A, dir

Z: Set to 1 if the result of operation is 0 and set to 0 in other cases.

AND A, @EP

V: Always set to 0

AND A, @IX+off

C: Not changed

AND A, Ri

 

 

 

ORW 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: Always set to 0

 

C: Not changed

 

 

OR A, #d8

N: Set to 1 if the result of operation is negative and set to 0 in other cases.

OR A, dir

Z: Set to 1 if the result of operation is 0 and set to 0 in other cases.

OR A, @EP

V: Always set to 0

OR A, @IX+off

C: Not changed

OR A, Ri

 

 

 

236

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