A-17
Appendices
CP2E CPU Unit Software User’s Manual(W614)
A
-1 In
struction
Fu
nctio
n
s
App
A-1-
7 Data Shift Instr
uctions
SHIFT N-BITS
LEFT
NASL
@
Shifts the specified 16 bits(NASL) or
3
2 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(5
8
0)
D
C
D
:
Shift word
C
:
Control word
Shift n-bits
Lost
N bits
Contents of
"a" or "0"
shifted in
15
8
0
11
7
12
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
0
11
7
12
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(5
8
2)
D
C
D
:
Shift word
C
:
Control word
Summary of Contents for SYSMAC CP Series
Page 3: ......
Page 32: ...1 Overview 1 4 CP2E CPU Unit Software User s Manual W614 ...
Page 44: ...3 CPU Unit Operation 3 8 CP2E CPU Unit Software User s Manual W614 ...
Page 116: ...6 I O Allocation 6 8 CP2E CPU Unit Software User s Manual W614 ...
Page 144: ...7 PLC Setup 7 28 CP2E CPU Unit Software User s Manual W614 ...
Page 170: ...10 Interrupts 10 14 CP2E CPU Unit Software User s Manual W614 ...
Page 200: ...11 High speed Counters 11 30 CP2E CPU Unit Software User s Manual W614 ...
Page 272: ...12 Pulse Outputs 12 72 CP2E CPU Unit Software User s Manual W614 ...
Page 278: ...13 PWM Outputs 13 6 CP2E CPU Unit Software User s Manual W614 ...
Page 460: ...18 Programming Device Operations 18 28 CP2E CPU Unit Software User s Manual W614 ...
Page 576: ...Revision 2 CP2E CPU Unit Software User s Manual W614 ...
Page 577: ......