3.12 Shift instructions
Shifting the contents of ACCU1 and ACCU1-L to the left or right by the specified number
of places. If no address identifier is specified, shift the number of places into ACCU2-LL.
Any positions that become free are padded with zeros or the sign.
The last shifted bit is in condition code bit CC1.
Com-
mand
Operand Parameter Function Length
in words
SLW
SLW
-
0 ... 15
Shift the contents of ACCU1-L to the left. Positions that
become free are provided with zeros.
1
SLD
SLD
-
0 ... 32
Shift the contents of ACCU1 to the left. Positions that
become free are provided with zeros.
1
SRW
SRW
-
0 ... 15
Shift the contents of ACCU1-L to the right. Positions
that become free are provided with zeros
1
SRD
SRD
-
0 ... 32
Shift the contents of ACCU1 to the right. Positions that
become free are provided with zeros
1
SSI
SSI
-
0 ... 15
Shift the contents of ACCU1-L to the right with sign.
Positions that become free are provided with the sign
(bit 15)
1
SSD
SSD
-
0 ... 32
Shift the contents of ACCU1 to the right with sign 1
Status word BR CC1 CC0 OV OS OR STA RLO /FC
Instruction depends on - - - - - - - - -
Instruction influences -
ü ü ü
- - - - -
Shift instructions
VIPA SPEED7
IL operations
Shift instructions
HB00 | OPL_SP7 | Operation list | en | 18-30 41