<< Previous | Next >>

EX DE,HL
EX DE',HL
    Exchange
    Rabbit 2000/3000/4000/5000 Instruction

Opcode
Instruction
Operation
EB EX DE,HL if (!ALTD) then DE <-> HL
else DE <-> HL'
E3 EX DE',HL if (!ALTD) then DE' <-> HL
else DE' <-> HL'

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 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:


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