Omron CJ2 CPU UNIT SOFTWARE User Manual page 507

Cj2 cpu unit software
Hide thumbs Also See for CJ2 CPU UNIT SOFTWARE:
Table of Contents

Advertisement

Instruction
Mnemonic
SHIFT N-BIT
NSFR
579
DATA RIGHT
@NSFR
SHIFT N-BITS
NASL
580
LEFT
@NASL
DOUBLE
NSLL
582
SHIFT N-BITS
@NSLL
LEFT
SHIFT N-BITS
NASR
581
RIGHT
@NASR
DOUBLE
NSRL
583
SHIFT N-BITS
@NSRL
RIGHT
CJ2 CPU Unit Software User's Manual
Code
Symbol/Operand
Shifts the specified number of bits to the right.
NSFR(579)
D
C
N
D: Beginning
word for shift
C: Beginning bit
N: Shift data
length
Shifts the specified 16 bits of word data to the left by the
NASL(580)
specified number of bits.
D
C
D: Shift word
C: Control word
Lost
Shifts the specified 32 bits of word data to the left by the
NSLL(582)
specified number of bits.
D
C
D: Shift word
C: Control word
Lost
Shifts the specified 16 bits of word data to the right
NASR(581)
by the specified number of bits.
D
C
Contents of
D: Shift word
"a" or "0"
C: Control word
shifted in
Shifts the specified 32 bits of word data to the right by the
NSRL(583)
specified number of bits.
D
C
D: Shift word
Contents
C: Control word
of "a" or
"0" shifted
in
Function
Shifts one bit to the right
N − 1 bit
N − 1 bit
Shift n-bits
Contents of
"a" or "0"
shifted in
N bits
Shift n-bits
Contents
of "a" or
"0" shifted
in
N bits
N bits
Shift n-bits
Appendices
Execution
Location
condition
Output
Required
Output
Required
Output
Required
Output
Required
Lost
Output
Required
Lost
A-23

Advertisement

Table of Contents
loading

Table of Contents