EasyManua.ls Logo

Cray CRAY-1 - Shift, Mask Format; Immediate Constant Format; Format for Arithmetic and Logical Instructions

Default Icon
216 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
l
,
OPERATION
CODE
J
RESULT
REG.
OPERAND
REG.
OPERAND
REG.
16
BITS
ARITHMETIC,
LOGICAL
Figure 4-2.
Format
for arithmetic
and
logical
instructions
SHIFT,
MASK
FORMAT
The
shift
and
mask
instructions
consist of a
7-bit
operation
code
(gh)
followed
by
a
3-bit
field
and
a
6-bit
field.
The
3-bit
i
field
desig-
nates the
result
and
operand
registers.
The
6-bit
combined
jk
field
specifies
a
shift
or
mask
count. This format
is
illustrated
in figure 4-3.
OPERATION
CODE
OPERAND
AND
RESULT
REG.
j k
6
SHIFT,
MASK
COUNT
16
81TS
SHIFT,
MASK
Figure 4-3.
Format
for
shift
and
mask
instructions
IMMEDIATE
CONSTANT
FORMAT
The
instructions
that
enter immediate constants into A
registers
have
either
a one-parcel or a two-parcel
form.
Only
the two-parcel
form
exists
for entering immediate constants into S
registers.
For
the one-parcel
form,
the j
and
k
fi
e 1
ds
are
combi
ned
to
gi
ve
a 6-bi t quanti
ty.
For
the
2240004
4-2
E

Table of Contents