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);">
單片機(jī)中斷系統(tǒng)有幾個(gè)中斷源?
- A 1
- B 2
- C 4
- D 5
參考答案: D
解析:
無
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;"/>
關(guān)于中斷優(yōu)先級(jí),下面說法不正確的是哪一個(gè)?
- A 低優(yōu)先級(jí)可被高優(yōu)先級(jí)中斷
- B 高優(yōu)先級(jí)不能被低優(yōu)先級(jí)中斷
- C 任何一種中斷一旦得到響應(yīng),不會(huì)再被它的同級(jí)中斷源所中斷
- D 自然優(yōu)先級(jí)中INT0優(yōu)先級(jí)*高,任何時(shí)候它都可以中斷其他4個(gè)中斷源正在執(zhí)行的服務(wù)
參考答案: D
解析:
無
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在響應(yīng)中斷后,必須在中斷服務(wù)程序中用軟件將其清除。
- A T0
- B T1
- C 外部中斷
- D 串行口中斷
參考答案: 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分)
判斷題
在同一個(gè)優(yōu)先級(jí)別中,多個(gè)中斷源按照自然優(yōu)先權(quán)順序被響應(yīng)。
- A) 正確
- B) 錯(cuò)誤
參考答案: A
解析:
無
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;"/>
當(dāng)T1在下列哪種情況下, T1中斷請求標(biāo)志位TF1自動(dòng)置1,向CPU申請中斷。
- A 賦初值時(shí)
- B 計(jì)數(shù)溢出
- C 啟動(dòng)時(shí)
- D 設(shè)置工作方式時(shí)
參考答案: B
解析:
無
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分)
判斷題
中斷系統(tǒng)是單片機(jī)的一個(gè)外部設(shè)備。
- A) 正確
- B) 錯(cuò)誤
參考答案: 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;"/>
要編寫定時(shí)器T1的中斷服務(wù)程序,按如下編寫: void timer1() interrupt n 其中n應(yīng)為哪一個(gè)?
- A 1
- B 2
- C 3
- D 4
參考答案: C
解析:
無
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分)
判斷題
單片機(jī)的中斷系統(tǒng)提高了CPU的工作效率。
- A) 正確
- B) 錯(cuò)誤
參考答案: A
解析:
無
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系列單片機(jī)CPU開中斷語句是 。
- A EA=1;
- B ES=1;
- C EA=0;
- D EX0=1;
參考答案: A
解析:
無
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的執(zhí)行方向?
- A 硬件
- B 軟件
- C 調(diào)用函數(shù)
- D 選擇語句
參考答案: A
解析:
無
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;"/>
單片機(jī)中斷系統(tǒng)有幾個(gè)中斷優(yōu)先級(jí)別?
- A 1
- B 2
- C 4
- D 5
參考答案: B
解析:
無
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正在響應(yīng)更高優(yōu)先級(jí)別的中斷請求,當(dāng)前請求將不會(huì)響應(yīng)。
- A) 正確
- B) 錯(cuò)誤
參考答案: A
解析:
無
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;"/>
當(dāng)CPU響應(yīng)外部中斷0 INT0的中斷請求后,程序計(jì)數(shù)器PC的內(nèi)容是 。
- A 0003H
- B 000BH
- C 00013H
- D 001BH
參考答案: A
解析:
無
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分)
判斷題
中斷服務(wù)程序和子函數(shù)的調(diào)用過程完全一樣。
- A) 正確
- B) 錯(cuò)誤
參考答案: 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分)
判斷題
定時(shí)器T0的計(jì)滿溢出中斷是外部中斷。
- A) 正確
- B) 錯(cuò)誤
參考答案: 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會(huì)立刻響應(yīng)中斷。
- A) 正確
- B) 錯(cuò)誤
參考答案: 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分)
判斷題
定時(shí)器的中斷請求標(biāo)志,其撤除辦法是由硬件自動(dòng)完成的。
- A) 正確
- B) 錯(cuò)誤
參考答案: A
解析:
無
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分)
判斷題
單片機(jī)所連接的所有外部設(shè)備都可以是中斷源。
- A) 正確
- B) 錯(cuò)誤
參考答案: 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分)
判斷題
要想響應(yīng)中斷,總允許為EA必須為1。
- A) 正確
- B) 錯(cuò)誤
參考答案: A
解析:
無
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 斷點(diǎn)
參考答案: D
解析:
無