作者ambri (ambri)
看板Grad-ProbAsk
標題[理工] [計組] 是非題
時間Mon Feb 17 10:36:05 2014
1.( )A register file is a large memory for storing files
答案:X
請問為什麼錯呢? register file 不就是MEM嗎...
2.( )To achieve 「beq r1, r2, L1」in ARM‘S assembly is done by:
cmp r1, r2, followed by beq L1.
(d) cmp performs JUMP to L1.
答案:X(他(d)不能選)
請問如果(d)選項改成 beq performs JUMP to L1. 這樣會對嗎?
3.( )In a cache-based system, because of the coherence problem, thus DMA can
not be used.
答案:X
請問答案該怎麼選...
他DMA "can not" be used的意思是...DMA"絕對不能"被使用,所以選X嗎
曾經記得可以透過一些修正可以再cache system中用DAM
像I/O存取MEM→OS把cache中的data設成invalid
4.( )MIPS and ARM are both RISC-type ISA and use the same instructions set
architecture.
答案:X
請問他是錯原因是在後半句MIPS 和 ARM應該為不同ISA嗎?
5.1( )an illegal instruction exception is raised by the execution of the
instruction at the execution cycle.
5.2( )an illegal instruction exception is raised by the execution of the
instruction at the decode cycle.
答案:X、O
請問2.1為什麼錯呢
不是也有在execution cycle 發生exception 情形嗎? ex:overflow
6.( )The forwarding unit snoops the instruction cache access.
答案:X
請問他敘述哪裡錯呢?
是因為forwarding單純只是forward data和snoops cache access 無關嗎
7.偷偷請問一下「Programmed I/O」在哪一章...我在I/O那個單元找不到這個字眼= =...
http://ppt.cc/AtCr
http://ppt.cc/Ueuf
以上求解 謝謝>///<
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 101.8.63.151
→ justbearcry:programmed I/O = polling I/O 上課有提到 02/17 10:54
感謝感謝 找好久
→ justbearcry:6錯我覺得是因為forwarding unit是放在EX那邊 和instr 02/17 10:55
→ justbearcry:uction cache 沒關係 02/17 10:56
→ justbearcry:5.1錯我認為是因為非法指令 解碼後你就會知道他是非法 02/17 10:57
→ justbearcry:所以就會exception 02/17 10:57
推 A4P8T6X9:1.不是 3.有一個valid bit可用。 02/17 12:34
→ A4P8T6X9:4. 不同的ISA。 02/17 12:35
關於1.突然想到 register file 在cpu裡面 ,所以他是cache,而且小小的
所以他說MEM→X large→X 不知道這樣解釋對不對
→ j84255801912:1是reg的集合 02/17 12:36
→ j84255801912:2 對喔 他重點是在perform jump 3因為stale data 和 02/17 12:38
→ j84255801912:coherence都可解決 02/17 12:38
我誤會題目的意思了 感謝!!
推 cocoyan:2.不知道r1和r2的值,beq不一定會JUMP吧 02/17 16:37
嗯...你說的對,不過他那題主要是判斷指令行為,不是要判別跳不跳
抱歉,我敘述的不清楚
※ 編輯: ambri 來自: 101.8.54.1 (02/18 09:27)