A-17
Appendices
CP2E CPU Unit Software User’s Manual(W614)
A-1 Instruction Functions
App
A-1-7 Data Shift Instructions
SHIFT N-BITS
LEFT
NASL @ Shifts the specified 16 bits(NASL) or 32 bits(NSLL) of word data to
the left by the specified number of bits.
C: Control word
• NASL
• NSLL
DOUBLE
SHIFT N-BITS
LEFT
NSLL @
Instruction Mnemonic Variations Symbol/Operand Function
NASL(580)
D
C
D: Shift word
C: Control word
Shift n-bits
Lost
N bits
Contents of
"a" or "0"
shifted in
15 8 011 712
C
0
No. of bits to shift: 00 to 10 Hex
Always 0.
Data shifted into register
0 Hex: 0 shifted in
8 Hex: Contents of rightmost bit shifted in
15 8 011 712
C
0
No. of bits to shift: 00 to 20 Hex
Always 0.
Data shifted into register
0 Hex: 0 shifted in
8 Hex: Contents of rightmost bit shifted in
NSLL(582)
D
C
D: Shift word
C: Control word