![Rabbit 2000 Instruction & Reference Manual Download Page 50](http://html1.mh-extra.com/html/rabbit/2000/2000_instruction-and-reference-manual_3112735050.webp)
46
Rabbit 2000/3000 Microprocessor
Description
•
EX DE,HL
exchanges the data in DE with the data in HL. If the ALTD instruction is present
then the data in DE is exchanged with the data in the alternate register HL'.
•
EX DE',HL
exchanges the data in the alternate register DE' with the data in HL. If the ALTD
instruction is present then the data in DE' is exchanged with the data in the alternate register 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’
EX DE,HL
EX DE
'
,HL
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
I/O
S
Z
L/V
C
F
R
SP
S
D
-
-
-
-
•
Summary of Contents for 2000
Page 2: ...ii Rabbit 2000 3000 Microprocessor...
Page 4: ...iv Rabbit 2000 Microprocessor...
Page 16: ...12 Rabbit 2000 3000 Microprocessor...
Page 164: ...160 Instruction Reference Manual...