154
6-2. Table of High-level Instructions
7. Data Shift Instructions
• A: Available, N/A: Not available
• Specification of flag operation in the above tables:
[↕] The flag (special relay) available for the instruction (turns ON/OFF according to the condition).
[ ](blank) The flag (special relay) not available for the instruction (keeps the state regardless of the instruction).
• For above mentioned instructions, refer to “FP-M/FP1 Programming Manual”.
F100
F101
F105
F106
F110
F111
F112
F113
D, n
D, n
D
D
D1, D2
D1, D2
D1, D2
D1, D2
Right shift of 16-bit data
in bit units
Left shift of 16-bit data
in bit units
Right shift of one hexadecimal
digit (4 bits) of 16-bit data
Left shift of one hexadecimal
digit (4 bits) of 16-bit data
Right shift of one word (16 bits)
of 16-bit data range
Left shift of one word (16 bits)
of 16-bit data range
Right shift of one hexadecimal
digit (4 bits) of 16-bit data range
Left shift of one hexadecimal
digit (4 bits) of 16-bit data range
SHR
SHL
BSR
BSL
WSHR
WSHL
WBSR
WBSL
↕
↕
↕
↕
↕
↕
↕
↕
5
5
3
3
5
5
5
5
A
A
A
A
A
A
A
A
A
A
A
A
A
A
A
A
A
A
A
A
A
A
A
A
↕
↕
—
—
—
—
—
—
—
—
Step Page
Flag operation
DescriptionOperandBooleanNumber
ER
R9007
R9008
CY
R9009
<
R900C
=
R900B
>
R900A
Availability
C56/
C72
C24/
C40
C14/
C16