CP
Logical Instructions
Logical Sum
12i jk
Logical sum of (Xj) and
( X k )
to Xi
This instruction reads operands from two X registers, operates on them to form
a result, and delivers this result to a third
X
register. The operands for
this instruction are in Xj and Xk.
The result delivered to Xi is the
bit-by-bit logical sum of the two operands. Each of the 60 bits in Xj is
compared with the corresponding bit in Xk to form a single bit in Xi.
A
sample
computation is listed in octal notation to illustrate the operation performed
and includes the four possible bit combinations that may occur.
(Xj)
=
0000 7777 0123 4567 1010
(Xi)
0123 7777 7777 4567 1110
This instruction merges portions of a 60-bit word into a composite word during
data processing.
16i jk
Logical sum of (Xj) with complement
BXi
-Xk
+
Xj
of (Xk) to Xi
14
9 8
6 5 3 2
0
I
16
i
j
k
This instruction reads operands from two
X
registers, operates on them to form
a result, and delivers this result to a third X register. The operands for
this instruction are in Xj and Xk.
The result delivered to Xi is the
bit-by-bit logical sum of the value in Xj and the complement of the value in
Xk.
Each of the 60 bits in Xj is compared with the corresponding bit in Xk to
form a single bit in Xi.
A
sample computation is listed in octal notation to
illustrate the operation performed and includes the four possible bit
combinations that may occur.
(Xi)
=
7654 7777 0123 7777 7677
This instruction merges portions of
a
60-bit word into a composite word during
data processing.
Need help?
Do you have a question about the Cyber 170 State and is the answer not in the manual?
Questions and answers