Download Print this page

ZiLOG Z80380 User Manual page 210

Advertisement

Z
ILOG
SWAP
SWAP UPPER REGISTER WORD WITH LOWER REGISTER WORD
SWAP src
src(31-16) ↔ src(15-0)
Operation:
The contents of the most significant word of the source are exchanged with the contents of
the least significant word of the source.
Flags:
S:
Unaffected
Z:
Unaffected
H:
Unaffected
V:
Unaffected
N:
Unaffected
C:
Unaffected
Addressing
Mode
Syntax
R:
SWAP R
RX:
SWAP RX
Field Encodings: rr: 00 for BC, 01 for DE, 11 for HL
y: 0 for IX, 1 for IY
5-176
src = R, RX
Instruction Format
11101101 00rr1110
11y11101 00111110
Execute
Time
Note
2
2
DC-8297-03
Z380
U
'
M
SER
S
ANUAL

Advertisement

loading
Need help?

Need help?

Do you have a question about the Z80380 and is the answer not in the manual?