Download Print this page

Control Data Cyber 170 State Hardware Reference Manual page 136

Advertisement

CP Pop Count Instruction
CP Pop Count lnstruction
Population Count
47ixk
Population count of
(Xk)
t o X i
C X i
Xk
This i n s t r u c t i o n r e a d s one operand from
Xk,
counts t h e number of one b i t s i n
t h e
operand,
and s t o r e s t h e count i n X i .
The count d e l i v e r e d t o X i
is a
p o s i t i v e i n t e g e r .
If t h e operand
i s a l l l ' s , a count of 60 (decimal) i s
d e l i v e r e d t o X i .
I f operand i s a l l z e r o s ,
a
0 ' s word i s d e l i v e r e d t o
X i .
CP Read Free Running Counter lnstruction
Read Free-Running Counter
016 jk
Read f r e e . running counter
T h i s I n s t r u c t i o n t r a n s f e r s t h e c u r r e n t c o n t e n t s of t h e 48-bit
f r e e running
counter t o t h e
X j
r e g i s t e r .
The l e f t m o s t 1 2 b i t s of X j a r e s e t t o 0.
The k
f i e l d i s ignored.
This i n s t r u c t i o n i s a s i n g l e p a r c e l i n s t r u c t i o n t h a t can be l o c a t e d i n any
p a r c e l .

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