5.14 SWAP (Exchange of High Bytes and Low Bytes)
■
Ladder diagram
■
Available operation units (●: Available)
Operatio
n unit
bit US SS UL SL SF DF
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
16-Bit device:
32-Bit
device:
Integer
Real
numbe
r
St
rin
g
Index
modifie
r
W
X
W
Y
W
R
W
L
W
S
S
D
D
T
L
D
U
M
WI
W
O
TS
C
S
TE
C
E
IX K U H SF
D
F
" "
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.14 SWAP (Exchange of High Bytes and Low Bytes)
5-32 WUME-FP7CPUPGR-12