作者bigrat2 (MrEric)
看板Grad-ProbAsk
标题[理工] [计组]-中山电机97
时间Tue Mar 23 22:34:56 2010
A 2.0 Ghz microprocessor runs a program of 1000 assembly instructions
Give the following assumptions:
(i)all the instructions are 32-bit long and they all use immediate addressing
mode
(ii)one memory location can accommodate one 32-bit instruction.
(iii)an address or data bus cycle will take 2 CPU cycles
(iv)address bus and data bus are both 16-bit wide
(v)after an instruction is fetched from memory to instruction register,
it requires 1 cycle for storing the result to register.
(vi)no instruction pipelining is allowed
(2)Compute CPI
答案是 cpi=4+1+2+2+1 =10
请问各位高手
是怎麽来的呢?
谢谢
--
※ 发信站: 批踢踢实业坊(ptt.cc)
◆ From: 114.33.6.216