分析下这个题目:Which of the following instructions should be privil
来源:学生作业帮 编辑:作业帮 分类:综合作业 时间:2024/08/27 08:23:42
分析下这个题目:Which of the following instructions should be privileged?答案是abcefh,请说明理由
1.8 Which of the following instructions should be privileged?
a.Set value of timer.
b.Read the clock.
c.Clear memory.
d.Issue a trap instruction.
e.Turn off interrupts.
f.Modify entries in device-status table.
g.Switch from user to kernel mode.
h.Access I/O device.
1.8 Which of the following instructions should be privileged?
a.Set value of timer.
b.Read the clock.
c.Clear memory.
d.Issue a trap instruction.
e.Turn off interrupts.
f.Modify entries in device-status table.
g.Switch from user to kernel mode.
h.Access I/O device.
操作系统的题?应该问的是那些与内核指令相关的吧
a设置计时器的值,这个会影响系统进程,需要特权
b读时间,这个应该不需要吧,难道是读取操作系统时间?
c清除内存会影响进程调用,内存管理之类的,肯定也需要
d产生陷阱指令,这个任何指令都可以产生吧,不一定非内核指令
e关闭中断,这个会影响CPU占用,肯定要系统来控制
f编辑硬件状态表的记录,这个涉及硬件的管理,肯定要
g变用户到核心模式,可以修改核心指令那必须要
h存取I/O设备,这都是操作系统干的活,肯定要
完全个人理解,
再问: 标准答案已经给了,就是不明白来求解释的,A class of instructions, usually including storage protection setting, interrupt handling, timer control, input/output, and special processor status-setting instructions,这是网上找的解释,b也许是timer control所以选了,g你选了,但答案没有唉,谢谢你的解答,给找个帮手解释一下吧,追加悬赏
再答: 抱歉,没注意你的标准答案, 其实这道题很基础的,就是英文描述的太2了, READ CLOCK应该指的是读取设备是时钟频率,例如CPU CLOCK, 这个如果不通过内核指令是读不了的, 用户切换到核心模式,都是操作系统自动完成的,比如我发个存储文件的指令,在用户层可能就是SAVEFILE,在核心层就I/O驱动指令.但是切换的过程是不需要核心指令的,希望这个解释还算清楚
a设置计时器的值,这个会影响系统进程,需要特权
b读时间,这个应该不需要吧,难道是读取操作系统时间?
c清除内存会影响进程调用,内存管理之类的,肯定也需要
d产生陷阱指令,这个任何指令都可以产生吧,不一定非内核指令
e关闭中断,这个会影响CPU占用,肯定要系统来控制
f编辑硬件状态表的记录,这个涉及硬件的管理,肯定要
g变用户到核心模式,可以修改核心指令那必须要
h存取I/O设备,这都是操作系统干的活,肯定要
完全个人理解,
再问: 标准答案已经给了,就是不明白来求解释的,A class of instructions, usually including storage protection setting, interrupt handling, timer control, input/output, and special processor status-setting instructions,这是网上找的解释,b也许是timer control所以选了,g你选了,但答案没有唉,谢谢你的解答,给找个帮手解释一下吧,追加悬赏
再答: 抱歉,没注意你的标准答案, 其实这道题很基础的,就是英文描述的太2了, READ CLOCK应该指的是读取设备是时钟频率,例如CPU CLOCK, 这个如果不通过内核指令是读不了的, 用户切换到核心模式,都是操作系统自动完成的,比如我发个存储文件的指令,在用户层可能就是SAVEFILE,在核心层就I/O驱动指令.但是切换的过程是不需要核心指令的,希望这个解释还算清楚
which of the following should be taken into consideration in
which of the following can be shammed?
一道逻辑题目:Which of the following statements.
Polyurethanes can be which of the following (more than one):
Which of the following can not be erten?
which of the following determiners can be placed before both
Which of the following is
which of the following意思?
_____ the instructions,the medicine should be taken three ti
which of the following must be disclosed on the face of the
英语翻译将以下句子翻译为中文(人工翻译)Which of the following events should not
Which of the following can be inferred from the URL of a fil