
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
-
-
-
-
•
Содержание 2000
Страница 2: ...ii Rabbit 2000 3000 Microprocessor...
Страница 4: ...iv Rabbit 2000 Microprocessor...
Страница 16: ...12 Rabbit 2000 3000 Microprocessor...
Страница 164: ...160 Instruction Reference Manual...
Страница 172: ...168 Rabbit 2000 3000 Microprocessor...
Страница 174: ...170 Rabbit 2000 3000 Microprocessor...