nid="ylr3anatp6fp4hik5z9zya" data-questiontype="1" data-num="1" style="color: rgb(51, 51, 51); font-family: "Segoe UI", "Lucida Grande", Helvetica, Arial, "Microsoft YaHei", FreeSans, Arimo, "Droid Sans", "wenquanyi micro hei", "Hiragino Sans GB", "Hiragino Sans GB W3", FontAwesome, sans-serif; font-size: 14px; background-color: rgb(241, 240, 240);">
单片机中断系统有几个中断源?
- A 1
- B 2
- C 4
- D 5
nid="ylr3anatarbkxzfkoxjqgw" data-questiontype="1" data-num="2" style="color: rgb(51, 51, 51); font-family: "Segoe UI", "Lucida Grande", Helvetica, Arial, "Microsoft YaHei", FreeSans, Arimo, "Droid Sans", "wenquanyi micro hei", "Hiragino Sans GB", "Hiragino Sans GB W3", FontAwesome, sans-serif; font-size: 14px; background-color: rgb(241, 240, 240);">
2.(5分)
单选题
nly="readonly" name="getScore" value="5" disabled="disabled" style="color: red; font-style: inherit; font-variant: inherit; font-weight: 700; font-stretch: inherit; font-size: 20px; line-height: 1.2; font-family: Constantia, Georgia; text-rendering: optimizelegibility; -webkit-font-smoothing: antialiased; cursor: not-allowed; vertical-align: middle; display: block; width: 75px; padding: 5px 10px; background: rgb(238, 238, 238); border-width: 1px; border-style: solid; border-color: rgb(221, 221, 221); border-radius: 0px; transition: border-color 0.15s ease-in-out 0s, box-shadow 0.15s ease-in-out 0s, -webkit-box-shadow 0.15s ease-in-out 0s; text-align: center; position: absolute;"/>
关于中断优先级,下面说法不正确的是哪一个?
- A 低优先级可被高优先级中断
- B 高优先级不能被低优先级中断
- C 任何一种中断一旦得到响应,不会再被它的同级中断源所中断
- D 自然优先级中INT0优先级*高,任何时候它都可以中断其他4个中断源正在执行的服务
nid="ylr3anat9zzkqloowqjiw" data-questiontype="1" data-num="3" style="color: rgb(51, 51, 51); font-family: "Segoe UI", "Lucida Grande", Helvetica, Arial, "Microsoft YaHei", FreeSans, Arimo, "Droid Sans", "wenquanyi micro hei", "Hiragino Sans GB", "Hiragino Sans GB W3", FontAwesome, sans-serif; font-size: 14px; background-color: rgb(241, 240, 240);">
3.(5分)
单选题
nly="readonly" name="getScore" value="5" disabled="disabled" style="color: red; font-style: inherit; font-variant: inherit; font-weight: 700; font-stretch: inherit; font-size: 20px; line-height: 1.2; font-family: Constantia, Georgia; text-rendering: optimizelegibility; -webkit-font-smoothing: antialiased; cursor: not-allowed; vertical-align: middle; display: block; width: 75px; padding: 5px 10px; background: rgb(238, 238, 238); border-width: 1px; border-style: solid; border-color: rgb(221, 221, 221); border-radius: 0px; transition: border-color 0.15s ease-in-out 0s, box-shadow 0.15s ease-in-out 0s, -webkit-box-shadow 0.15s ease-in-out 0s; text-align: center; position: absolute;"/>
中断请求,CPU在响应中断后,必须在中断服务程序中用软件将其清除。
- A T0
- B T1
- C 外部中断
- D 串行口中断
nid="ylr3anatvqvmllmr5b8zwq" data-questiontype="3" data-num="4" style="color: rgb(51, 51, 51); font-family: "Segoe UI", "Lucida Grande", Helvetica, Arial, "Microsoft YaHei", FreeSans, Arimo, "Droid Sans", "wenquanyi micro hei", "Hiragino Sans GB", "Hiragino Sans GB W3", FontAwesome, sans-serif; font-size: 14px; background-color: rgb(241, 240, 240);">
4.(5分)
判断题
在同一个优先级别中,多个中断源按照自然优先权顺序被响应。
- A) 正确
- B) 错误
nid="ylr3anatgj9gww0lkiuacq" data-questiontype="1" data-num="5" style="color: rgb(51, 51, 51); font-family: "Segoe UI", "Lucida Grande", Helvetica, Arial, "Microsoft YaHei", FreeSans, Arimo, "Droid Sans", "wenquanyi micro hei", "Hiragino Sans GB", "Hiragino Sans GB W3", FontAwesome, sans-serif; font-size: 14px; background-color: rgb(241, 240, 240);">
5.(5分)
单选题
nly="readonly" name="getScore" value="5" disabled="disabled" style="color: red; font-style: inherit; font-variant: inherit; font-weight: 700; font-stretch: inherit; font-size: 20px; line-height: 1.2; font-family: Constantia, Georgia; text-rendering: optimizelegibility; -webkit-font-smoothing: antialiased; cursor: not-allowed; vertical-align: middle; display: block; width: 75px; padding: 5px 10px; background: rgb(238, 238, 238); border-width: 1px; border-style: solid; border-color: rgb(221, 221, 221); border-radius: 0px; transition: border-color 0.15s ease-in-out 0s, box-shadow 0.15s ease-in-out 0s, -webkit-box-shadow 0.15s ease-in-out 0s; text-align: center; position: absolute;"/>
当T1在下列哪种情况下, T1中断请求标志位TF1自动置1,向CPU申请中断。
- A 赋初值时
- B 计数溢出
- C 启动时
- D 设置工作方式时
nid="ylr3anat9lvogneojs9gaa" data-questiontype="3" data-num="6" style="color: rgb(51, 51, 51); font-family: "Segoe UI", "Lucida Grande", Helvetica, Arial, "Microsoft YaHei", FreeSans, Arimo, "Droid Sans", "wenquanyi micro hei", "Hiragino Sans GB", "Hiragino Sans GB W3", FontAwesome, sans-serif; font-size: 14px; background-color: rgb(241, 240, 240);">
6.(5分)
判断题
中断系统是单片机的一个外部设备。
- A) 正确
- B) 错误
nid="ylr3anatorpin5ub964dfg" data-questiontype="1" data-num="7" style="color: rgb(51, 51, 51); font-family: "Segoe UI", "Lucida Grande", Helvetica, Arial, "Microsoft YaHei", FreeSans, Arimo, "Droid Sans", "wenquanyi micro hei", "Hiragino Sans GB", "Hiragino Sans GB W3", FontAwesome, sans-serif; font-size: 14px; background-color: rgb(241, 240, 240);">
7.(5分)
单选题
nly="readonly" name="getScore" value="0" disabled="disabled" style="color: red; font-style: inherit; font-variant: inherit; font-weight: 700; font-stretch: inherit; font-size: 20px; line-height: 1.2; font-family: Constantia, Georgia; text-rendering: optimizelegibility; -webkit-font-smoothing: antialiased; cursor: not-allowed; vertical-align: middle; display: block; width: 75px; padding: 5px 10px; background: rgb(238, 238, 238); border-width: 1px; border-style: solid; border-color: rgb(221, 221, 221); border-radius: 0px; transition: border-color 0.15s ease-in-out 0s, box-shadow 0.15s ease-in-out 0s, -webkit-box-shadow 0.15s ease-in-out 0s; text-align: center; position: absolute;"/>
要编写定时器T1的中断服务程序,按如下编写: void timer1() interrupt n 其中n应为哪一个?
- A 1
- B 2
- C 3
- D 4
nid="ylr3anat55xcnsqv4unoiw" data-questiontype="3" data-num="8" style="color: rgb(51, 51, 51); font-family: "Segoe UI", "Lucida Grande", Helvetica, Arial, "Microsoft YaHei", FreeSans, Arimo, "Droid Sans", "wenquanyi micro hei", "Hiragino Sans GB", "Hiragino Sans GB W3", FontAwesome, sans-serif; font-size: 14px; background-color: rgb(241, 240, 240);">
8.(5分)
判断题
单片机的中断系统提高了CPU的工作效率。
- A) 正确
- B) 错误
nid="ylr3anatv7tefvaiwcrfjg" data-questiontype="1" data-num="9" style="color: rgb(51, 51, 51); font-family: "Segoe UI", "Lucida Grande", Helvetica, Arial, "Microsoft YaHei", FreeSans, Arimo, "Droid Sans", "wenquanyi micro hei", "Hiragino Sans GB", "Hiragino Sans GB W3", FontAwesome, sans-serif; font-size: 14px; background-color: rgb(241, 240, 240);">
9.(5分)
单选题
nly="readonly" name="getScore" value="5" disabled="disabled" style="color: red; font-style: inherit; font-variant: inherit; font-weight: 700; font-stretch: inherit; font-size: 20px; line-height: 1.2; font-family: Constantia, Georgia; text-rendering: optimizelegibility; -webkit-font-smoothing: antialiased; cursor: not-allowed; vertical-align: middle; display: block; width: 75px; padding: 5px 10px; background: rgb(238, 238, 238); border-width: 1px; border-style: solid; border-color: rgb(221, 221, 221); border-radius: 0px; transition: border-color 0.15s ease-in-out 0s, box-shadow 0.15s ease-in-out 0s, -webkit-box-shadow 0.15s ease-in-out 0s; text-align: center; position: absolute;"/>
MCS-51系列单片机CPU开中断语句是 。
- A EA=1;
- B ES=1;
- C EA=0;
- D EX0=1;
nid="ylr3anat47vhrqql5jlmww" data-questiontype="1" data-num="10" style="color: rgb(51, 51, 51); font-family: "Segoe UI", "Lucida Grande", Helvetica, Arial, "Microsoft YaHei", FreeSans, Arimo, "Droid Sans", "wenquanyi micro hei", "Hiragino Sans GB", "Hiragino Sans GB W3", FontAwesome, sans-serif; font-size: 14px; background-color: rgb(241, 240, 240);">
10.(5分)
单选题
nly="readonly" name="getScore" value="5" disabled="disabled" style="color: red; font-style: inherit; font-variant: inherit; font-weight: 700; font-stretch: inherit; font-size: 20px; line-height: 1.2; font-family: Constantia, Georgia; text-rendering: optimizelegibility; -webkit-font-smoothing: antialiased; cursor: not-allowed; vertical-align: middle; display: block; width: 75px; padding: 5px 10px; background: rgb(238, 238, 238); border-width: 1px; border-style: solid; border-color: rgb(221, 221, 221); border-radius: 0px; transition: border-color 0.15s ease-in-out 0s, box-shadow 0.15s ease-in-out 0s, -webkit-box-shadow 0.15s ease-in-out 0s; text-align: center; position: absolute;"/>
中断是指通过什么来改变CPU的执行方向?
- A 硬件
- B 软件
- C 调用函数
- D 选择语句
nid="ylr3anatrpzhroz1ljsyg" data-questiontype="1" data-num="11" style="color: rgb(51, 51, 51); font-family: "Segoe UI", "Lucida Grande", Helvetica, Arial, "Microsoft YaHei", FreeSans, Arimo, "Droid Sans", "wenquanyi micro hei", "Hiragino Sans GB", "Hiragino Sans GB W3", FontAwesome, sans-serif; font-size: 14px; background-color: rgb(241, 240, 240);">
11.(5分)
单选题
nly="readonly" name="getScore" value="5" disabled="disabled" style="color: red; font-style: inherit; font-variant: inherit; font-weight: 700; font-stretch: inherit; font-size: 20px; line-height: 1.2; font-family: Constantia, Georgia; text-rendering: optimizelegibility; -webkit-font-smoothing: antialiased; cursor: not-allowed; vertical-align: middle; display: block; width: 75px; padding: 5px 10px; background: rgb(238, 238, 238); border-width: 1px; border-style: solid; border-color: rgb(221, 221, 221); border-radius: 0px; transition: border-color 0.15s ease-in-out 0s, box-shadow 0.15s ease-in-out 0s, -webkit-box-shadow 0.15s ease-in-out 0s; text-align: center; position: absolute;"/>
单片机中断系统有几个中断优先级别?
- A 1
- B 2
- C 4
- D 5
nid="ylr3anat7qjkzd3jfunucw" data-questiontype="3" data-num="12" style="color: rgb(51, 51, 51); font-family: "Segoe UI", "Lucida Grande", Helvetica, Arial, "Microsoft YaHei", FreeSans, Arimo, "Droid Sans", "wenquanyi micro hei", "Hiragino Sans GB", "Hiragino Sans GB W3", FontAwesome, sans-serif; font-size: 14px; background-color: rgb(241, 240, 240);">
12.(5分)
判断题
如果CPU正在响应更高优先级别的中断请求,当前请求将不会响应。
- A) 正确
- B) 错误
nid="ylr3anatabklj9z6caflq" data-questiontype="1" data-num="13" style="color: rgb(51, 51, 51); font-family: "Segoe UI", "Lucida Grande", Helvetica, Arial, "Microsoft YaHei", FreeSans, Arimo, "Droid Sans", "wenquanyi micro hei", "Hiragino Sans GB", "Hiragino Sans GB W3", FontAwesome, sans-serif; font-size: 14px; background-color: rgb(241, 240, 240);">
13.(5分)
单选题
nly="readonly" name="getScore" value="5" disabled="disabled" style="color: red; font-style: inherit; font-variant: inherit; font-weight: 700; font-stretch: inherit; font-size: 20px; line-height: 1.2; font-family: Constantia, Georgia; text-rendering: optimizelegibility; -webkit-font-smoothing: antialiased; cursor: not-allowed; vertical-align: middle; display: block; width: 75px; padding: 5px 10px; background: rgb(238, 238, 238); border-width: 1px; border-style: solid; border-color: rgb(221, 221, 221); border-radius: 0px; transition: border-color 0.15s ease-in-out 0s, box-shadow 0.15s ease-in-out 0s, -webkit-box-shadow 0.15s ease-in-out 0s; text-align: center; position: absolute;"/>
当CPU响应外部中断0 INT0的中断请求后,程序计数器PC的内容是 。
- A 0003H
- B 000BH
- C 00013H
- D 001BH
nid="ylr3anatkoday8pl0qxakw" data-questiontype="3" data-num="14" style="color: rgb(51, 51, 51); font-family: "Segoe UI", "Lucida Grande", Helvetica, Arial, "Microsoft YaHei", FreeSans, Arimo, "Droid Sans", "wenquanyi micro hei", "Hiragino Sans GB", "Hiragino Sans GB W3", FontAwesome, sans-serif; font-size: 14px; background-color: rgb(241, 240, 240);">
14.(5分)
判断题
中断服务程序和子函数的调用过程完全一样。
- A) 正确
- B) 错误
nid="ylr3anatj6lkkys5bejoaq" data-questiontype="3" data-num="15" style="color: rgb(51, 51, 51); font-family: "Segoe UI", "Lucida Grande", Helvetica, Arial, "Microsoft YaHei", FreeSans, Arimo, "Droid Sans", "wenquanyi micro hei", "Hiragino Sans GB", "Hiragino Sans GB W3", FontAwesome, sans-serif; font-size: 14px; background-color: rgb(241, 240, 240);">
15.(5分)
判断题
定时器T0的计满溢出中断是外部中断。
- A) 正确
- B) 错误
nid="ylr3anat1ptetg6hcttv9q" data-questiontype="3" data-num="16" style="color: rgb(51, 51, 51); font-family: "Segoe UI", "Lucida Grande", Helvetica, Arial, "Microsoft YaHei", FreeSans, Arimo, "Droid Sans", "wenquanyi micro hei", "Hiragino Sans GB", "Hiragino Sans GB W3", FontAwesome, sans-serif; font-size: 14px; background-color: rgb(241, 240, 240);">
16.(5分)
判断题
只要提出中断请求,CPU会立刻响应中断。
- A) 正确
- B) 错误
nid="ylr3anatuoxebdqik0zkrw" data-questiontype="3" data-num="17" style="color: rgb(51, 51, 51); font-family: "Segoe UI", "Lucida Grande", Helvetica, Arial, "Microsoft YaHei", FreeSans, Arimo, "Droid Sans", "wenquanyi micro hei", "Hiragino Sans GB", "Hiragino Sans GB W3", FontAwesome, sans-serif; font-size: 14px; background-color: rgb(241, 240, 240);">
17.(5分)
判断题
定时器的中断请求标志,其撤除办法是由硬件自动完成的。
- A) 正确
- B) 错误
nid="ylr3anaterddcddzan0ylq" data-questiontype="3" data-num="18" style="color: rgb(51, 51, 51); font-family: "Segoe UI", "Lucida Grande", Helvetica, Arial, "Microsoft YaHei", FreeSans, Arimo, "Droid Sans", "wenquanyi micro hei", "Hiragino Sans GB", "Hiragino Sans GB W3", FontAwesome, sans-serif; font-size: 14px; background-color: rgb(241, 240, 240);">
18.(5分)
判断题
单片机所连接的所有外部设备都可以是中断源。
- A) 正确
- B) 错误
nid="ylr3anatmkho08kpi0cmcg" data-questiontype="3" data-num="19" style="color: rgb(51, 51, 51); font-family: "Segoe UI", "Lucida Grande", Helvetica, Arial, "Microsoft YaHei", FreeSans, Arimo, "Droid Sans", "wenquanyi micro hei", "Hiragino Sans GB", "Hiragino Sans GB W3", FontAwesome, sans-serif; font-size: 14px; background-color: rgb(241, 240, 240);">
19.(5分)
判断题
要想响应中断,总允许为EA必须为1。
- A) 正确
- B) 错误
nid="ylr3anatr4ppzauphsvmiw" data-questiontype="1" data-num="20" style="color: rgb(51, 51, 51); font-family: "Segoe UI", "Lucida Grande", Helvetica, Arial, "Microsoft YaHei", FreeSans, Arimo, "Droid Sans", "wenquanyi micro hei", "Hiragino Sans GB", "Hiragino Sans GB W3", FontAwesome, sans-serif; font-size: 14px; background-color: rgb(241, 240, 240);">
20.(5分)
单选题
nly="readonly" name="getScore" value="5" disabled="disabled" style="color: red; font-style: inherit; font-variant: inherit; font-weight: 700; font-stretch: inherit; font-size: 20px; line-height: 1.2; font-family: Constantia, Georgia; text-rendering: optimizelegibility; -webkit-font-smoothing: antialiased; cursor: not-allowed; vertical-align: middle; display: block; width: 75px; padding: 5px 10px; background: rgb(238, 238, 238); border-width: 1px; border-style: solid; border-color: rgb(221, 221, 221); border-radius: 0px; transition: border-color 0.15s ease-in-out 0s, box-shadow 0.15s ease-in-out 0s, -webkit-box-shadow 0.15s ease-in-out 0s; text-align: center; position: absolute;"/>
主程序被打断的地方称为什么?
- A 中断源
- B 入口地址
- C 中断矢量
- D 断点