Download 78K/0 Series instruction

Transcript
CHAPTER 5 EXPLANATION OF INSTRUCTIONS
Exchange Word
XCHW
Word Data Exchange
[Instruction format]
XCHW dst, src
[Operation]
dst ↔ src
[Operand]
Mnemonic
XCHW
Operand(dst,src)
AX, rp
Note
Note Only when rp = BC, DE or HL
[Flag]
Z
AC
CY
[Description]
• The 1st and 2nd operand contents are exchanged.
[Description example]
XCHW AX, BC; The memory contents of the AX register are exchanged with those of the BC register.
User's Manual U12326EJ4V0UM
53