Asr/Asrl - Omron CJ - REFERENCE MANUAL 02-2010 Reference Manual

Table of Contents

Advertisement

ASR/ASRL

Instruction
ARITHMETIC SHIFT RIGHT
DOUBLE SHIFT RIGHT
Symbol
Applicable Program Areas
Function block
Area
definitions
Usage
OK
Operands
Operand
Wd
Word
Operand Specifications
Word addresses
Area
CIO
WR
HR
ASR
Wd
OK
OK
OK
ASRL
Wd
Flags
Name
Error Flag
Equals Flag
Carry Flag
Negative Flag
CS/CJ/NSJ Series Instructions Reference Manual (W474)
Mnemonic
Variations
ASR
@ASL
ASRL
@ASLL
ASR
ASR(026)
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
OFF
Function
code
026
Shifts the contents of Wd one bit to the right.
571
Shifts the contents of Wd and Wd +1 one bit to the right.
Subroutines
OK
Data type
ASR
UINT
UDINT
Indirect DM/EM
addresses
Con-
stants
@DM
*DM
DR
@EM
*EM
OK
OK
OK
---
---
Operation
3. Instructions
Function
ASRL
ASRL(571)
Wd
Wd: Word
SFC action or transition
Interrupt tasks
programs
OK
OK
Size
ASRL
ASR
ASRL
1
Registers
Flags
Pulse
bits
Indirect
IR
TK
CF
using IR
---
OK
---
---
---
3
2
TR
bits
---
315

Advertisement

Table of Contents
loading

Table of Contents