Mitsubishi Electronics FX3G User Manual

Page of 964
292
FX
3S
/FX
3G
/FX
3GC
/FX
3U
/FX
3UC
 Series
Programming Manual - Basic & Applied Instruction Edition
11 Rotation and Shift Operation – FNC 30 to FNC 39
11. Rotation and Shift Operation – FNC 30 to FNC 39
FNC 30 to FNC 39 provide instructions for rotating and shifting bit data and word data in specified directions.
FNC No.
Mnemonic
Symbol
Function
Reference
30
ROR
Rotation Right
Section 11.1
31
ROL
Rotation Left
Section 11.2
32
RCR
Rotation Right with Carry
Section 11.3
33
RCL
Rotation Left with Carry
Section 11.4
34
SFTR
Bit Shift Right
Section 11.5
35
SFTL
Bit Shift Left
Section 11.6
36
WSFR
Word Shift Right
Section 11.7
37
WSFL
Word Shift Left
Section 11.8
38
SFWR
Shift write [FIFO/FILO control]
Section 11.9
39
SFRD
Shift read [FIFO control]
Section 
11.10
n
D
ROR
n
D
ROL
n
D
RCR
n
D
RCL
n2
n1
D
S
SFTR
n2
n1
D
S
SFTL
n2
n1
D
S
WSFR
n2
n1
D
S
WSFL
n
SFWR
D
S
n
SFRD
D
S