[理工] [计组] 成大 是非题

楼主: ambri (ambri)   2014-02-17 10:36:05
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
以上求解 谢谢>///<
作者: justbearcry (justbearcry)   2014-02-17 10:54:00
programmed I/O = polling I/O 上课有提到6错我觉得是因为forwarding unit是放在EX那边 和instruction cache 没关系5.1错我认为是因为非法指令 解码后你就会知道他是非法所以就会exception
作者: A4P8T6X9 (残废的名侦探)   2014-02-17 12:34:00
1.不是 3.有一个valid bit可用。4. 不同的ISA。
作者: j84255801912   2014-02-17 12:36:00
1是reg的集合2 对喔 他重点是在perform jump 3因为stale data 和coherence都可解决
作者: cocoyan (抠抠厌)   2014-02-17 16:37:00
2.不知道r1和r2的值,beq不一定会JUMP吧

Links booklink

Contact Us: admin [ a t ] ucptt.com