Z
ILOG
EX
EXCHANGE REGISTER WITH ALTERNATE REGISTER (WORD)
EX dst,src
Operation:
if (LW) then begin
dst(31-0)
end
else begin
dst(15-0)
end
The contents of the destination are exchanged with the contents of the source, where the
destination is a word register in the primary bank and the source is the corresponding word
register in the alternate bank.
Flags:
S:
Unaffected
Z:
Unaffected
H:
Unaffected
V:
Unaffected
N:
Unaffected
C:
Unaffected
Addressing
Mode
Syntax
R:
EX R,R'
RX:
EX RX,RX'
Field Encodings: rr: 00 for BC, 01 for DE, 11 for HL
y: 0 for IX, 1 for IY
5-54
src = R, RX
↔
src(31-0)
↔
src(15-0)
Instruction Format
11101101 11001011 001100rr
11101101 11001011 0011010y
Execute
Time
Note
3
L
3
L
DC-8297-03
Z380
™
U
'
M
SER
S
ANUAL
Need help?
Do you have a question about the Z80380 and is the answer not in the manual?
Questions and answers