NEC 78K/0S Series User Manual page 61

8-bit single-chip microcontroller
Table of Contents

Advertisement

XCH
[Instruction format]
[Operation]
[Operand]
Mnemonic
XCH
A, X
A, r
A, saddr
A, sfr
A, [DE]
A, [HL]
A, [HL + byte]
Note Except r = A, X
[Flag]
Z
AC
[Description]
The 1st and 2nd operand contents are exchanged.
[Description example]
XCH A, 0FEBCH; The A register contents and address FEBCH contents are exchanged.
CHAPTER 5 EXPLANATION OF INSTRUCTIONS
XCH dst, src
dst ↔ src
Operand (dst, src)
Note
CY
User's Manual U11047EJ3V0UM00
Exchange
Byte Data Exchange
61

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents