EX DE,HL
EX DE',HL
Exchange
Rabbit 2000/3000/4000 Instruction
|
|
EB
|
EX DE,HL
|
|
if (!ALTD) then DE <-> HL
else DE <-> HL'
|
|
E3
|
EX DE',HL
|
|
if (!ALTD) then DE' <-> HL
else DE' <-> HL'
|
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:
-
EX DE',HL' ; equivalent to ALTD EX DE',HL
-
EX DE,HL' ; equivalent to ALTD EX DE',HL'