EasyManuals Logo

VIPA CPU 21 Series User Manual

VIPA CPU 21 Series
394 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 #372 background imageLoading...
Page #372 background image
Chapter 12 Instruction list Manual VIPA CPU 21x
Command
Operand
Parameter
Status word
Function
Length
in
BR CC1 CC0 OV OS OR STA RLO /FC
words
: Instruction depends on
: Instruction influences
12-18 HB103E - Rev. 05/45
Shift instructions
Shift instructions
Status word Shifting the contents of ACCU1 and ACCU1-L
to the left or right by the specified number o
f
places. If no address identifier is specified, shift
the number of places into ACCU2-LL. An
y
positions that become free are padded with
zeros or the sign.
The last shifted bit is in condition code bit CC1.
SLW -
BR CC1 CC0 OV OS OR STA RLO /FC
Shift the contents of ACCU1-L to the left. 1
SLW 0 ... 15
- - - - -----Positions that become free are provided with zeros
SLD -
- Y Y Y -----Shift the contents of ACCU1 to the left. 1
SLD 0 ... 32
Positions that become free are provided with zeros.
SRW -
Shift the contents of ACCU1-L to the right. 1
SRW 0 ... 15
Positions that become free are provided with zeros.
SRD -
Shift the contents of ACCU1 to the right. 1
SRD 0 ... 32
Positions that become free are provided with zeros.
SSI -
Shift the contents of ACCU1-L to the right with sign. 1
SSI 0 ... 15
Positions that become free are provided with the sign
(Bit 15) .
SSD -
Shift the contents of ACCU1 to the right with sign 1
SSD 0 ... 32
Rotation instructions
Status word Rotate the contents of ACCU1 to the left o
r
right by the specified number of places. If no
address identifier is specified, rotate the
number of places into ACCU2-LL.
RLD -
BR CC1 CC0 OV OS OR STA RLO /FC
Rotate the contents of ACCU1 to the left. 1
RLD 0 ... 32
- - - - -----
RRD -
- Y Y Y -----Rotate the contents of ACCU1 to the right. 1
RRD 0 ... 32
RLDA -
BR CC1 CC0 OV OS OR STA RLO /FC
Rotate the contents of ACCU1 one bit position to the left,
- - - - -----via CC1 bit.
RRDA -
- Y 0 0 -----Rotate the contents of ACCU1 one bit position to the right,
via CC1 bit.

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the VIPA CPU 21 Series and is the answer not in the manual?

VIPA CPU 21 Series Specifications

General IconGeneral
BrandVIPA
ModelCPU 21 Series
CategoryControl Unit
LanguageEnglish

Related product manuals