<< Previous | Next >>

EXX     Exchange     Rabbit 2000/3000/4000 Instruction
Opcode
Instruction
Clocks
Operation

D9

EXX

2

BC <-> BC'
DE <-> DE'
HL <-> HL'
JK <-> JK'     (Rabbit 4000 only)


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, this instructions also exchanges JK with its alternate JK'.


<< Previous | Next >>