Shift Instructions; Arithmetic Shift Left [Shl], Arithmetic Shift Right [Shr] - Xinje XD Series User Manual

Hide thumbs Also See for XD Series:
Table of Contents

Advertisement

4-7.Shift Instructions
Mnemonic
SHL
SHR
LSL
LSR
ROL
ROR
SFTL
SFTR
WSFL
WSFR
4-7-1.Arithmetic shift left [SHL], Arithmetic shift right [SHR]
1. Summary
Do arithmetic shift left/right for the numbers
Arithmetic shift left [SHL]
16 bits
SHL
Execution
Normally ON/OFF,
condition
rising/falling edge
Hardware
-
requirement
Arithmetic shift right [SHR]
16 bits
SHR
Execution
Normally ON/OFF,
condition
rising/falling edge
Hardware
-
requirement
2. Operands
Operands
Function
D
The source data address
n
Shift left or right times
Function
Arithmetic shift left
Arithmetic shift right
Logic shift left
Logic shift right
Rotation left
Rotation right
Bit shift left
Bit shift right
Word shift left
Word shift right
Chapter
4-7-1
4-7-1
4-7-2
4-7-2
4-7-3
4-7-3
4-7-4
4-7-5
4-7-6
4-7-7
32 bits
DSHL
Suitable Models
XD, XL
Software
-
requirement
32 bits
DSHR
Suitable Models
XD, XL
Software
-
requirement
Data Type
16bit/32bit,BIN
16bit/32bit,BIN
129

Advertisement

Table of Contents
loading

This manual is also suitable for:

Xl seriesXd3Xd5

Table of Contents