A S S er i es Pr og r am m ing M an u a l
API
Instruction code
1113
Device
X
D
n
Data
type
D
n
Symbol
Explanation
1.
This instruction shifts the states of the n bit devices starting from D by one bit to the left. The instruction clears the
_6
state of D to 0, and transmits the state of D+n-1 to the carry flag SM602.
2.
In general, the BSFLP pulse instruction is used.
3.
The operand n must be between 1–1024.
Example
When X0.0 is ON, the instruction shifts the states of M0–M5 by one bit to the left, clears the state of M0 to 0, and
transmits the state of M5 to the carry flag SM602.
6 - 3 4 6
BSFL
P
Y
M
S
T
C
Operand
D, n
HC
D
FR
SM
Pulse instruction
AS
D : First device for the shift
n : Data length
Function
Shifting the states of n bit devices by one
bit to the left
SR
E
K
16#
16-bit instruction
32-bit instruction
AS
"$"
F
-