CHAPTER 6 DETAILED RULES FOR EXECUTION INSTRUCTIONS

6.77SWAP (SWAP Byte Data Accumulator "H" and Accumulator "L")

Exchange the byte data of AH for that of AL.

SWAP (SWAP Byte Data Accumulator "H" and Accumulator "L")

Operation

(AH) (AL) (Byte data exchange)

Assembler format

SWAP

Condition code (CCR)

N

Z

V

C

 

 

 

 

-

-

-

-

 

 

 

 

+: Changed by executing instruction

-: Not changed

N:Not changed

Z:Not changed

V:Not changed

C:Not changed

Number of execution cycle: 1

Byte count: 1

OP code: 10

200

Page 212
Image 212
Fujitsu F2MC-8FX manual Swap Swap Byte Data Accumulator H and Accumulator L