Omron CS1G/H-CPUxx-EV1 Programming Manual page 131

Sysmac cs series; sysmac cj series
Hide thumbs Also See for CS1G/H-CPUxx-EV1:
Table of Contents

Advertisement

Data Shift Instructions
Instruction
Symbol/Operand
Mnemonic
Code
SHIFT N-BITS
NASL(580)
LEFT
NASL
@NASL
580
D: Shift word
C: Control word
DOUBLE SHIFT
NSLL(582)
N-BITS LEFT
NSLL
@NSLL
582
D: Shift word
C: Control word
SHIFT N-BITS
NASR(581)
RIGHT
NASR
@NASR
581
D: Shift word
C: Control word
DOUBLE SHIFT
NSRL(583)
N-BITS RIGHT
NSRL
@NSRL
583
D: Shift word
C: Control word
Shifts the specified 16 bits of word data to the left by the specified
number of bits.
D
C
Lost
Shifts the specified 32 bits of word data to the left by the specified
number of bits.
D
C
Lost
Shifts the specified 16 bits of word data to the right by the specified
number of bits.
D
C
Contents of "a" or
"0" shifted in
Shifts the specified 32 bits of word data to the right by the specified
number of bits.
D
C
Contents of
"a" or "0"
shifted in
Function
Shift n-bits
Contents of
"a" or "0"
shifted in
N bits
Shift n-bits
N bits
N bits
Shift n-bits
Section 3-7
Location
Execution condition
Output
Required
Output
Required
Contents of
"a" or "0"
shifted in
Output
Required
Lost
Output
Required
Lost
95

Advertisement

Table of Contents
loading

Table of Contents