Shift Instructions - Mitsubishi MELSEC Q Series Programming Manual

Common instruction 1/2
Hide thumbs Also See for MELSEC Q Series:
Table of Contents

Advertisement

2.5.3

Shift instructions

Category
SFR
SFRP
n-bit shift
of 16-bit
data
SFL
SFLP
BSFR
BSFRP
1-bit shift
of n-bit
data
BSFL
BSFLP
SFTBR
SFTBRP
n-bit shift
of n-bit
data
SFTBL
SFTBLP
DSFR
1-word
DSFRP
shift of
n-words
DSFL
data
DSFLP
SFTWR
n-words
SFTWRP
shift of
n-words
SFTWL
data
SFTWLP
Table 2.20 Shift Instructions
Symbol
SFR
D
n
b15
b15
SFRP
D
n
SFL
D
n
Carry flag
SFLP
D
n
BSFR
D
n
BSFRP
D
n
BSFL
D
n
Carry flag
BSFLP
D
n
SFTBR
SFTBR
D n1 n2
D n1 n2
SFTRP
D n1 n2
SFTBL
D n1 n2
SFTBLP
D n1 n2
DSFR
D
n
DSFRP
D
n
DSFL
D
n
DSFLP
D
n
SFTWR
D n1 n2
SFTWRP D n1 n2
SFTWL
D n1 n2
SFTWLP D n1 n2
Processing Details
bn
b0
Carry flag
b0 SM700
0 to 0
b15
bn
b0
b15
b0
SM700
0 to 0
n
(D)
Carry flag
SM700
0
n
(D)
SM700
0
n1
n2
(D)
Carry flag
SM700
0 0
n1
n2
(D)
Carry flag
SM700
0
0
n
(D)
0
n
(D)
0
n1
n2
(D)
0 0
n1
n2
(D)
0 0
Execution
Condition
3
7-46
3
3
-
7-49
3
-
4
-
7-51
4
-
3
7-54
3
4
-
7-56
4
-
2-33
1
2
4
4
2
6
7
8

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec l series

Table of Contents