AH500 Programming Manual
6-234
6.12 Shift Instructions
6.12.1 The List of Shift Instructions
API
instruction
Function Step
Shifting the states of the devices to the right
Shifting the states of the devices to the left
1102
WSFR –
Shifting the data in the word devices to the
right
9
Shifting the data in the word devices to the left
1104
SFWR –
Shifting the data and writing it into the word
device
7
1105
SFRD –
Shifting the data and reading it from the word
device
7
Reading the latest data from the data list
Deleting the data from the data list
Inserting the data into the data list
1110
SFR –
Shifting the values of the bits in the 16-bit
registers by n bits to the right
5
1111
SFL –
Shifting the values of the bits in the 16-bit
registers by
bits to the left
5
1112
BSFR –
Shifting the states of the n bit devices by one
bit to the right
5
1113
BSFL –
Shifting the states of the n bit devices by one
bit to the left
5
Shifting n registers to the right
Shifting n registers to the left