5.11 BKEXT (16-bit Data Sign-extended Block Transfer)
5.11 BKEXT (16-bit Data Sign-extended Block Transfer)
■
Ladder diagram
■
Available operation units (●: Available)
Operatio
bit
n unit
i
■
List of operands
Operand
Description
S1
The starting address of the device storing the data that sign extension is performed.
S2
The ending address of the device storing the data that sign extension is performed.
D
Destination starting device address
■
Available devices (●: Available)
Operan
d
W
W
X
Y
S1
●
●
S2
●
●
D
●
●
■
Outline of operation
● This instruction performs sign extension for device values in the area specified by [S1] to
[S2], and transfers them to the device address specified by [D] and subsequent addresses.
■
Processing
Example 1) Operation unit: signed 16-bit (SS)
[S1]...DT0 [S2]...DT3 [D]...DT10
5-26
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
" "
●
●
●