APPENDIX A Instruction List

A.3 Flag Change Table

Table A.3-1is the flag change table for transfer instructions. Table A.3-2is the flag change table for operation instructions. Table A.3-3is the flag change table for branch instructions. Table A.3-4is the flag change table for other instructions.

Flag Change Table

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

Instruction

Flag change

 

 

MOV dir, A

N: Not changed

MOV @IX+off, A

Z: Not changed

MOV ext, A

V: Not changed

MOV @EP, A

C: Not changed

MOV Ri, A

 

 

 

MOV , #d8

N: Set to 1 if the transferred data is negative and set to 0 in other cases.

MOV A, dir

Z: Set to 1 if the transferred data is 0 and set to 0 in other cases

MOV A, @IX+off

V: Not changed

MOV A, ext

C: Not changed

MOV A, @A

 

MOV A, @EP

 

MOV A, Ri

 

 

 

MOV dir, #d8

N: Not changed

MOV @IX+off, #d8

Z: Not changed

MOV @EP, #d8

V: Not changed

MOV Ri, #d8

C: Not changed

 

 

MOVW dir, A

N: Not changed

MOVW @IX+off, A

Z: Not changed

MOVW ext, A

V: Not changed

MOVW @EP, A

C: Not changed

 

 

MOVW A, #d16

N: Set to 1 if the transferred data is negative and set to 0 in other cases.

MOVW A, dir

Z: Set to 1 if the transferred data is 0 and set to 0 in other cases

MOVW A, @IX+off

V: Not changed

MOVW A, ext

C: Not changed

 

 

MOVW A, @A

 

MOVW A, @EP

 

 

 

233

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