EasyManua.ls Logo

Omron CP1E CPU UNIT SOFTWARE - Page 370

Omron CP1E CPU UNIT SOFTWARE
450 pages
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...
Appendices
A-16
CP1E CPU Unit Software User’s Manual(W480)
ONE DIGIT
SHIFT LEFT
SLD @ Shifts data by one digit (4 bits) to the left.
ONE DIGIT
SHIFT RIGHT
SRD @ Shifts data by one digit (4 bits) to the right.
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
SLD(074)
St
E
St: Starting word
E: End word
ESt
Lost
SRD(075)
St
E
St: Starting word
E: End word
ESt
Lost
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

Table of Contents

Related product manuals