Nasl/Nsll - Omron SYSMAC CP Series Instruction & Reference Manual

Cpu unit
Hide thumbs Also See for SYSMAC CP Series:
Table of Contents

Advertisement

NASL/NSLL

Instruction
SHIFT N-BITS LEFT
DOUBLE SHIFT N-BITS LEFT
Symbol
Applicable Program Areas
Area
Step program areas
Usage
OK
Operands
Operand
D
Shift Word
C
Control word
C: Control word
NASL
15
12
11
8
7
C
0
Always 0.
Data shifted into register
0 Hex: 0 shifted in
8 Hex: Contents of rightmost bit shifted in
Operand Specifications
Word addresses
Area
CIO
WR
HR
D
OK
OK
OK
C
OK
OK
OK
CP1E CPU Unit Instructions Reference Manual(W483)
Mnemonic
Variations
NASL
@NASL
NSLL
@NSLL
NASL
NASL(580)
D
D: Shift word
C
C: Control word
Description
0
No. of bits to shift: 00 to 10 Hex
AR
T
C
DM
OK
OK
OK
OK
OK
OK
OK
OK
Function
code
Shifts the specified 16 bits of word data to the left by the
580
specified number of bits.
Shifts the specified 32 bits of word data to the left by the
582
specified number of bits.
Subroutines
OK
Data type
NASL
NSLL
UINT
UDINT
UINT
UDINT
NSLL
15
12
11
8
7
C
0
Always 0.
Data shifted into register
0 Hex: 0 shifted in
8 Hex: Contents of rightmost bit shifted in
Indirect DM addresses
Constants
@DM
*DM
OK
OK
---
OK
OK
OK
2 Instructions
Function
NSLL
NSLL(582)
D
D: Shift word
C
C: Control word
Interrupt tasks
OK
Size
NASL
NSLL
1
2
1
1
0
No. of bits to shift: 00 to 20 Hex
CF
Pulse bits
TR bits
---
---
---
---
---
---
2-141
2

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents