582 views
6 votes
6 votes

Two computers use register windows with the following characteristics. Determine which computer is using more number of the total number of registers and find their absolute difference.
$$\begin{array}{|l c c|}
\hline
& \text{Computer A} &\text{Computer B}\\
\hline
\text{Global registers} & 10 & 9\\
\text{Local registers} & 9 & 8\\
\text{Common registers} & 6 & 7\\
\text{Number of windows} & 8 & 4\\
\hline
\end{array}$$

  1. $B, 130$
  2. $A, 69$
  3. $A, 61$
  4. $B, 61$

1 Answer

Best answer
5 votes
5 votes
Register file size of $(A) = (L + C)W + G = (9+6)\times 8 + 10 = 130$
    
    Register file size of $(B) = (8+7)\times 4 + 9 = 69$
    
    Difference $= A - B = 61.$
    
    So, Option (C)
selected by
Answer:

Related questions