EasyManuals Logo

Xinje XDH Series User Manual

Xinje XDH Series
456 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
Page #134 background imageLoading...
Page #134 background image
133
data address.
For example, the source data D10 is 20, when M0 rising edge is coming, D10 become -20.
The following two instructions are the same.
NEG D10
M0
SUB K0 D10 D10
M0
4-7 Shift Instructions
Mnemonic
Function
Chapter
SHL
Arithmetic shift left
4-7-1
SHR
Arithmetic shift right
4-7-1
LSL
Logic shift left
4-7-2
LSR
Logic shift right
4-7-2
ROL
Rotation left
4-7-3
ROR
Rotation right
4-7-3
SFTL
Bit shift left
4-7-4
SFTR
Bit shift right
4-7-5
WSFL
Word shift left
4-7-6
WSFR
Word shift right
4-7-7
4-7-1 Arithmetic shift left [SHL,DSHL], Arithmetic shift right [SHR,DSHR]
1) Summary
Do arithmetic shift left/right for the numbers
Arithmetic shift left [SHL,DSHL]
16 bits
SHL
32 bits
DSHL
Execution
condition
Normally ON/OFF,
rising/falling edge
Suitable Models
XD, XL
Hardware
requirement
-
Software
requirement
-
Arithmetic shift right [SHR,DSHR]
16 bits
SHR
32 bits
DSHR
Execution
condition
Normally ON/OFF,
rising/falling edge
Suitable Models
XD, XL
Hardware
requirement
-
Software
requirement
-
2) Operands
Operands
Function
Data Type
D
The source data address
16 bits/32 bits,BIN
n
Shift left or right times
16 bits/32bits,BIN
tudonghoatoancau.com

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Xinje XDH Series and is the answer not in the manual?

Xinje XDH Series Specifications

General IconGeneral
BrandXinje
ModelXDH Series
CategoryNetwork Hardware
LanguageEnglish

Related product manuals