NEC 78K/0S Series User Manual page 64

8-bit single-chip microcontroller
Table of Contents

Advertisement

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

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents