Download Print this page

Control Data Cyber 170 State Hardware Reference Manual page 77

Advertisement

CP
lnteger Arithmetic Instructions
CP Instruction Descriptions
The
0
0
0
a
0
0
rn
rn
0
a
rn
CP general instructions are divided into
16
subgroups as follows:
Integer Arithmetic
Branch
Block Copy
Shift
Logical
Floating Point
Jump
Exchange/Jump
~ompare/~ove
Set
Normalize
Pass
Illegal Instruction
Mask
Pop Count
Read Free Running Counter
CP lnteger Arithmetic lnstructions
The integer arithmetic instructions (table 4-1) perform integer arithmetic on
signed two's complement words or half words in Xk or
XkR.
The sign bit is bit
0 for full-word integers or bit 32 for half-word integers.
Table 4-1.
CP Integer Arithmetic Instructions
-
.
.
Opcode
Format
Instruction
Mnemonic
27
i
jk
Pack (~k) and (Bj) to Xi
PXi
Bj Xk
26
i jk
Unpack
(Xk)
to Xi and Bj
UXi Bj Xk
36
U k
Integer sum of (Xj) and
(Xlc)
to Xi
IXi Xj+Xk
37
1
jk
Integer difference of (Xj) and (Xk) to Xi
IXi
Xj-Xk

Advertisement

loading
Need help?

Need help?

Do you have a question about the Cyber 170 State and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel