5.14 SWAP (Exchange of High Bytes and Low Bytes)
5.14 SWAP (Exchange of High Bytes and Low Bytes)
■
Ladder diagram
■
Available operation units (●: Available)
Operatio
bit
n unit
i
■
List of operands
Operand
Description
S
Device address of the source where high bytes and low bytes should be exchanged
D
Device address of destination of the exchanged data
■
Available devices (●: Available)
Operan
d
W
W
X
Y
S
●
●
D
●
●
■
Outline of operation
● This instruction exchanges high bytes and low bytes of the device address specified by [S],
and transfers the resulting data to the device address specified by [D].
5-32
US
●
16-Bit device:
W
W
W
S
D
L
R
L
S
D
T
D
●
●
●
●
●
●
●
●
●
●
SS
UL
●
32-Bit
device:
TS
TE
U
W
WI
C
C
M
O
S
E
●
●
●
●
●
SL
SF
Real
Integer
numbe
r
D
IX
K
H
SF
U
F
WUME-FP7CPUPGR-12
DF
St
rin
g
Index
modifie
r
" "
●
●