<< Previous | Next >>

EX DE,HL
EX DE',HL
    Exchange
    Rabbit 2000/3000/4000 Instruction
Opcode
Instruction
Clocks
Operation

EB

EX DE,HL

2

if (!ALTD) then DE <-> HL
else DE <-> HL'

E3

EX DE',HL

2

if (!ALTD) then DE' <-> HL
else DE' <-> HL'


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

Description

Exchanges DE or DE' with HL. If the instruction is preceded by ALTD, the alternate register HL' is used instead of HL.

The Dynamic C assembler recognizes the following instructions, which are based on a combination of ALTD and the above exchange operations:


<< Previous | Next >>