Справочник Пользователя для Mitsubishi Electronics QCPU

Скачать
Страница из 1204
7-54
DSFR(P),DSFL(P)
7.3.4  
1-word shift to right or left of n-word data (DSFR(P),DSFL(P))
DSFR(P),DSFL(P)
Function
DSFR
(1) Shifts data n points from device designated by 
 1-word to the right.
(2) The device designated by D + (n   1) is filled with 0.
DSFL
(1) Shifts data n points from device designated by 
 1-word to the left.
(2) The device designated by 
 is filled with 0.
: Head number of the devices to be shifted (BIN 16 bits)
 n
: Number of devices to which shift is executed (BIN 16 bits)
Setting 
Data
Internal Devices 
R, ZR
J
\
U
\G
Zn
Constants
K, H
Other
Bit
Word
Bit
Word
––
––
––
n
––
Basic
Process
High
performance
Redundant Universal
Command
Command
P
D
n
D
n
DSFR, DSFL
DSFRP, DSFLP
indicates an instruction symbol of DSFR/DSFL.
D
D
D
Filled with 0.
555
212
325
100
50
40
0
555
212
325
100
50
n
D
D
D
D
D
D
D
D
D
D
D
D
+(n-1)
+(n-2)
+(n-3)
+(n-1)
+(n-2)
+(n-3)
+(n-4)
+2
+1
+1
D
D
D
D
D
Filled with 0.
555
120
325
100
50
40
125
325
100
50
40
0
D
D
D
D
D
D
D
D
n
+(n-3)
+(n-1)
+(n-2)
+(n-1)
+(n-2)
+2
+1
+2
+1
+3
D