ASL/ASLL
Instruction
ARITHMETIC SHIFT LEFT
DOUBLE SHIFT LEFT
Symbol
Applicable Program Areas
Function block
Area
definitions
Usage
OK
Operands
Operand
Wd
Word
Operand Specifications
Word addresses
Area
CIO
WR
HR
ASL
Wd
OK
OK
OK
ASLL
Wd
Flags
Name
Error Flag
Equals Flag
Carry Flag
Negative Flag
CS/CJ/NSJ Series Instructions Reference Manual (W474)
Mnemonic
Variations
ASL
@ASL
ASLL
@ASLL
ASL
ASL(025)
Wd
Wd: Word
Block program areas
Step program areas
OK
OK
Description
AR
T
C
DM
EM
OK
OK
OK
OK
OK
Label
ER
OFF
=
• ON when the shift result is 0.
• OFF in all other cases.
CY
• ON when 1 is shifted into the Carry Flag (CY).
• OFF in all other cases.
N
• ON when the leftmost bit is 1 as a result of the shift.
• OFF in all other cases.
Function
code
025
Shifts the contents of Wd one bit to the left.
570
Shifts the contents of Wd and Wd +1 one bit to the left.
Subroutines
OK
Data type
ASL
UINT
UDINT
Indirect DM/EM
addresses
Con-
stants
@DM
*DM
DR
@EM
*EM
OK
OK
OK
---
---
Operation
3. Instructions
Function
ASLL
ASLL(570)
Wd
Wd: Word
SFC action or transition
Interrupt tasks
programs
OK
OK
Size
ASLL
ASL
ASLL
1
Registers
Flags
Pulse
bits
Indirect
IR
TK
CF
using IR
---
OK
---
---
---
3
2
TR
bits
---
307
Need help?
Do you have a question about the CJ - INSTRUCTIONS REFERENCE MANUAL 07-2009 and is the answer not in the manual?
Questions and answers