EasyManua.ls Logo

Omron CJ - PROGRAMMING MANUAL 12-2009 - Page 138

Omron CJ - PROGRAMMING MANUAL 12-2009
448 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
98
Data Shift Instructions
Section 3-7
SHIFT N-BITS
LEFT
NASL
@NASL
580
Output
Required
DOUBLE SHIFT
N-BITS LEFT
NSLL
@NSLL
582
Output
Required
SHIFT N-BITS
RIGHT
NASR
@NASR
581
Output
Required
DOUBLE SHIFT
N-BITS RIGHT
NSRL
@NSRL
583
Output
Required
Instruction
Mnemonic
Code
Symbol/Operand Function Location
Execution condition
NASL(580)
D
C
D: Shift word
C: Control word
Shift n-bits
Lost
N bits
Contents of
"a" or "0"
shifted in
Shifts the specified 16 bits of word data to the left by the specified
number of bits.
NSLL(582)
D
C
D: Shift word
C: Control word
Shift n-bits
Lost
N bits
Shifts the specified 32 bits of word data to the left by the specified
number of bits.
Contents of
"a" or "0"
shifted in
NASR(581)
D
C
D: Shift word
C: Control word
Lost
N bits
Contents of "a" or
"0" shifted in
Shifts the specified 16 bits of word data to the right by the specified
number of bits.
NSRL(583)
D
C
D: Shift word
C: Control word
Shift n-bits
Lost
Contents of
"a" or "0"
shifted in
Shifts the specified 32 bits of word data to the right by the specified
number of bits.
N bits

Table of Contents

Related product manuals