阿摩線上測驗 登入

試題詳解

試卷:100年 - 100 鐵路特種考試_員級_電子工程、資訊處理:計算機概要#45972 | 科目:計算機概論、大意(資訊科學概論,電腦常識,電子計算機概論)

試卷資訊

試卷名稱:100年 - 100 鐵路特種考試_員級_電子工程、資訊處理:計算機概要#45972

年份:100年

科目:計算機概論、大意(資訊科學概論,電腦常識,電子計算機概論)

14 在使用循序派發管線(in-order issue pipeline)的處理器中,假設管線由前而後依序為:指令取得 (instruction fetch)、指令解碼及派發(instruction decode and issue)、指令執行(execution)、資料 記憶體存取(data memory access)、資料寫回(write back),則下列三個指令要以何種順序重新排 程(schedule),才會最快且仍有正確的結果? ① lw $t0, 20 ($s2) #load a word from address ($s2+20) to register $t0 ② addu $t1, $t0, $t2 #$t1 = $t0 + $t2 ③ sub $s4, $s4, $t3 #s4 = $s4 - $s3
(A)①→②→③
(B)②→③→①
(C)③→②→①
(D)①→③→②
正確答案:登入後查看