所屬科目:研究所、轉學考(插大)◆作業系統與計算機組織
5. Given a 16-bit computer with the I-type instruction in the following format, which of the following statements are true? (A)The computer supports at most 16 operations (B) The computer has 8 registers (C) The range of the number in the immediate field (in 2's complement) is from -25 to 25-1 (D)Each register is 8-bits long (E) None of the above
8. Assume that the frequency of Floating Point (FP) operations is 25% for a computer, and the average CPI (Clock Cycles Per Instruction) of FP operations is 4. The average CPI of other instructions is 1.5. By performing some enhancement on the hardware, we can reduce the average CPI of all FP operations to 2. All other factors are not changed after enhancement. Which of the followings are true? (A)The speedup for the FP operations is 2 (B) The total speedup can be computed by Amdahl's Law using the following equation: (C)The total speedup is 1.307 (D)The CPI after enhancement is 1.859 (E) The CPI before enhancement is 2.125