Ex de, hl – Zilog Z08470 User Manual
Page 134

Z80 Instruction Set
UM008007-0715
122
Z80 CPU
User Manual
EX DE, HL
Operation
DE
↔
HL
Op Code
EX
Operands
DE, HL
Description
The 2-byte contents of register pairs DE and HL are exchanged.
Condition Bits Affected
None.
Example
If register pair DE contains
2822h
and register pair HL contains
499Ah
, then upon the
execution of an EX DE, HL instruction, register pair DE contains
499Ah
and register pair
HL contains
2822h
.
M Cycles
T States
4 MHz E.T.
1
4
1.00
1
1
0
1
1
0
1
1
EB