[问题] Privileged instruction、Deadlock

楼主: Nexus5566 (Nexus5566)   2016-02-01 11:12:21
这两题出自中兴103年资管所计概考题,不知道是自己基本功差还是题目含糊
总有些不确定...
a privileged instruction may be executed only while the hardware is
in kernel mode. Which of the following statments is LEAST likely to
be a privileged instruction?
(A) An instruction that sends output to a printer
(B) An instruction that modifies a memory management register
(C) An instruction that halts the CPU
(D) An instruction that resets the computer's time-of-day clock
(E) An instruction that reads the computer's time-of-day clock
据我所知privileged instruction是指那些容易造成系统危险的指令,
因此要在kernel mode执行,通常对硬件进行操作的指令都是特权指令
这题我是猜E,不知道判断有无错误
作者: ccpz (OoOoOo)   2016-02-02 08:56:00
第一题你的想法应该没错,只有那个不会改变系统状态

Links booklink

Contact Us: admin [ a t ] ucptt.com