<< Previous | Next >>

EXX     Exchange     Rabbit 2000/3000/4000/5000 Instruction

Opcode
Instruction
Operation
D9 EXX BC <-> BC'
DE <-> DE'
HL <-> HL'
JK <-> JK'     (Rabbit 4000/5000 only)

8-Bit Access
16-Bit Unaligned
16-Bit Aligned
Rabbit 2000/3000/4000
2
n/a
n/a
Rabbit 5000
2
2
2

Flags ALTD IOI/IOE
S
Z
L/V
C
F
R
SP
S
D
-
-
-
-

Description

Exchanges BC, DE, and HL, with their respective alternate registers, BC', DE', and HL'.

If using the Rabbit 4000 or Rabbit 5000, this instructions also exchanges JK with its alternate JK'.


Rabbit Instructions << Previous | Next >> rabbit.com