CP Integer Arithmetic Instructions
36ijk
I n t e g e r sum of (Xj) and (Xk) t o
X i
This i n s t r u c t i o n reads operands from two X r e g i s t e r s , o p e r a t e s on them t o form
a 60-bit i n t e g e r
sum,
and d e l i v e r s t h i s r e s u l t t o a t h i r d X r e g i s t e r .
The
operands f o r t h i s i n s t r u c t i o n a r e i n X j and
Xk.
These operands a r e signed
i n t e g e r s .
The
r e s u l t i n g i n t e g e r sum
i s
d e l i v e r e d t o X i .
Overflow i s not
detected.
14
9 8
6 5 3 2
0
I
This i n s t r u c t i o n adds i n t e g e r s too l a r g e f o r handling by
50
through 77
i n s t r u c t i o n s .
The i n s t r u c t i o n a l s o merges and compares d a t a f i e l d s during d a t a
processing.
36
For f u r t h e r information, r e f e r t o I n t e g e r Arithmetic under CP Programming i n
chapter 5.
i
j
k
3 7 i j k
I n t e g e r d i f f e r e n c e of ( ~ j ) and
(Xk)
t o X i
This i n s t r u c t i o n r e a d s operands from two X r e g i s t e r s , o p e r a t e s
on
them t o form
a 60-bit i n t e g e r d i f f e r e n c e , and d e l i v e r s t h i s r e s u l t
t o
a t h i r d
X
r e g i s t e r .
The operands f o r t h i s i n s t r u c t i o n a r e i n
X j
and Xk.
These operands a r e signed
i n t e g e r s .
The r e s u l t of s u b t r a c t i n g t h e q u a n t i t y i n
Xk
from t h e q u a n t i t y i n X j
i s
delivered t o
X i .
Overflow i s not detected.
This i n s t r u c t i o n s u b t r a c t s i n t e g e r s too l a r g e f o r handling by 50 through
77
i n s t r u c t i o n s .
The
i n s t r u c t i o n a l s o compares d a t a f i e l d s during d a t a processing.
For f u r t h e r information, r e f e r t o I n t e g e r Arithmetic under CP Programming i n
chapter 5.
Need help?
Do you have a question about the Cyber 170 State and is the answer not in the manual?
Questions and answers