APPENDIX

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

Instruction

Flag change

 

 

MOVW A, EP

N: Not changed

MOVW EP, #d16

Z: Not changed

MOVW IX, A

V: Not changed

MOVW A, IX

C: Not changed

MOVW SP, A

 

MOVW A, SP

 

MOVW SP, #d16

 

 

 

MOV @A, T

N: Not changed

MOVW @A, T

Z: Not changed

 

V: Not changed

 

C: Not changed

 

 

MOVW IX, #d16

N: Not changed

MOVW A, PS

Z: Not changed

MOVW A, PC

V: Not changed

JMP @A

C: Not changed

 

 

MOVW PS, A

N: Set to 1 if bit 3 of A is 1 and set to 0 if 0.

 

Z: Set to 1 if bit 2 of A is 1 and set to 0 if 0.

 

V: Set to 1 if bit 1 of A is 1 and set to 0 if 0.

 

C: Set to 1 if bit 0 of A is 1 and set to 0 if 0.

 

 

SETB dir:b

N: Not changed

CLRB dir:b

Z: Not changed

 

V: Not changed

 

C: Not changed

 

 

SWAP

N: Not changed

XCH A, T

Z: Not changed

 

V: Not changed

 

C: Not changed

 

 

XCHW A, T

N: Not changed

XCHW A, EP

Z: Not changed

XCHW A, IX

V: Not changed

XCHW A, SP

C: Not changed

XCHW A, PC

 

 

 

234

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