57
CS/CJ/NSJ Series Instructions Reference Manual (W474)
2. Summary of Instructions
2-2 Instruction Functions
2
2-2-7 Data Shift Instructions
DOUBLE SHIFT
N-BITS LEFT
NSLL
@NSLL
582
Output
Required
332
SHIFT N-BITS
RIGHT
NASR
@NASR
581
Output
Required
335
DOUBLE SHIFT
N-BITS RIGHT
NSRL
@NSRL
583
Output
Required
335
Instruction
Mnemonic
Code
Symbol/Operand Function Location
Execution
condition
Page
NSLL(582)
D
C
D: Shift word
C: Control word
Shift n-bits
Lost
N bits
Contents of
"a" or "0"
shifted in
Shifts the specified 32 bits of word data to the left by the specified
number of bits.
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