阿摩線上測驗 登入

申論題資訊

試卷:103年 - 103 國立中山大學_碩士班招生考試_電機系(丙組):計算機結構#110038
科目:中山◆電機◆計算機結構
年份:103年
排序:0

題組內容

[Problem 4] (20%) A 2.0 GHz microprocessor runs a program of 1000 assembly instructions. Given 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; and (iv) address bus and data bus are both 16-6it wide. After an instruction is fetched fom memory to instruction register, it requires 1 cycle for instruction decoding, 2 cycles for instruction execution, and 1 cycle for storing the result to register. Assume no instruction pipelining is employed,compute

申論題內容

(b) (5%) CPI (Cycles per Instruction).