【单选题】
下列关于C51中断函数定义格式的描述中,___是不正确的。
A. n是与中断源对应的中断号,取值为0~4
B. m是工作寄存器组的组号,缺省时由PSW的RS0和RS1确定
C. interrupt是C51的关键词,不能作为变量名
D. using也是C51的关键词,不能省略
查看试卷,进入试卷练习
微信扫一扫,开始刷题

答案
D
解析
暂无解析
相关试题
【单选题】
下列关于INT0的描述中,___是正确的。
A. 中断触发信号由单片机的P3.0引脚输入
B. 中断触发方式选择位ET0可以实现电平触发方式或脉冲触发方式的选择
C. 在电平触发时,高电平可引发IE0自动置位,CPU响应中断后IE0可自动清零
D. 在脉冲触发时,下降沿引发IE0自动置位,CPU响应中断后IE0可自动清零
【单选题】
下列关于TX/RX的描述中,___是不正确的。
A. 51单片机的内部发送控制器和接收控制器都可对串行数据进行收发控制
B. 若待接收数据被送入“接收SBUF”单元后,接收控制器可使RI位硬件置1
C. 若“发送SBUF”单元中的数据被发送出去后,发送控制器可使TI位硬件置1
D. 系统响应中断后,RI和TI都会被硬件自动清零,无需软件方式干预
【单选题】
设80C51晶振频率为12MHz,若用定时器T0的工作方式1产生1ms定时,则T0的初值应为___
A. 0xfc18
B. 0xf830
C. 0xf448
D. 0xf060
【单选题】
80C51的定时器T1用作定时方式1时,工作方式的初始化编程语句为___
A. TCON=0x01
B. TCON=0x05
C. TMOD=0x10
D. TMOD=0x50
【单选题】
80C51的定时器T1用作定时方式2时,工作方式的初始化编程语句为___
A. TCON=0x60
B. TCON=0x02
C. TMOD=0x06
D. TMOD=0x20
【单选题】
80C51采用计数器T1方式1时,要求每计满10次产生溢出标志,则TH1、TL1的初始值是___
A. FFH,F6H
B. F6H,F6H
C. F0H,F0H
D. FFH,F0H
【单选题】
下列关于中断控制寄存器的描述中,___是不正确的。
A. 80C51共有4个与中断有关的控制寄存器
B. TCON为串口控制寄存器,字节地址为98H,可位寻址
C. IP寄存器为中断优先级寄存器,字节地址为B8H,可位寻址
D. IE为中断允许寄存器,字节地址为A8H,可位寻址
【单选题】
下列关于中断优先级的描述中,___是不正确的。
A. 80C51每个中断源都有两个中断优先级,即高优先级中断和低优先级中断
B. 低优先级中断函数在运行过程中可以被高优先级中断所打断
C. 相同优先级的中断运行时,自然优先级高的中断可以打断自然优先级低的中断
D. 51单片机复位后IP初值为0,此时默认为全部中断都是低级中断
【单选题】
在一采用串口方式1的通信系统中,已知fosc=6MHz,波特率=2400,SMOD=1,则定时器T1在方式2时的计数初值应为___。
A. 0xe6
B. 0xf3
C. 0x1fe6
D. 0xffe6
【单选题】
173、将aa定义为片外RAM区的无符号字符型变量的正确写法是___。
A. unsigned char data aa
B. signed char xdata aa
C. extern signed char data aa
D. unsigned char xdata aa
【单选题】
将bmp定义为片内RAM区的有符号字符型变量的正确写法是___。
A. char data bmp
B. signed char xdata bmp
C. extern signed char data bmp
D. unsigned char xdata bmp
【单选题】
在xdata存储区里定义一个指向char类型变量的指针变量px的下列语句中,___是正确的。
A. char *xdata px
B. char xdata *px
C. char xdata *data px
D. char *px xdata
推荐试题
【单选题】
炼油厂是以___为原料进行生产、加工产品的工厂,不仅原材料和产品具有易燃易爆的特点,其生产过程也具备燃烧爆炸的危险,炼油厂发生火灾时,极易发生连锁反应,造成扑救困难、损失严重的后果。
A. 原油
B. 石油
C. 柴油
D. 汽油
【单选题】
大型商场火灾扑救应坚持___的战术原则,优先利用建筑内部的消防设施实施火灾扑救。
A. 以固为主、固移结合
B. 先控制、后消灭
C. 攻防并举、准确迅速
D. 冷却保护、防止爆炸
【单选题】
中队___是形成战斗编成的前提和基础,是中队灭火救援能力强弱的关键因素,它主要由中队车辆装备配备情况、人员数量和人员训练情况所决定。
A. 人员装备实力
B. 辖区火灾特点
C. 辖区水源分布情况
D. 中队执勤力量
【单选题】
___主要由辖区内建筑物的数量、高度、耐火等级以及建筑物内可燃物的数量所决定,它是确定中队战斗编成的主要依据。
A. 人员装备实力
B. 辖区火灾特点
C. 辖区水源分布情况
D. 中队执勤力量
【单选题】
Tom is a book lover. ______ likes reading very much.
A. He B. She C. You D. It
A. A
B. B
C. C
D. D
【单选题】
—May I listen to the music here, Mr. White?
—Sorry, you’d better it like that.
A. not to do B. not do to
C. dont do D. not do
A. A
B. B
C. C
D. D
【单选题】
3.—Did you have a good time at Lauras birthday party?
— Yes, indeed. Its several years ________ I enjoyed myself so much.
A. when B. before C. since D. that
A. A
B. B
C. C
D. D
【单选题】
4. —___________ is the Summer Palace from here?
About three kilometers away. You can take the No. 35 bus.
A. How long B. How far C. How often D. How much
A. A
B. B
C. C
D. D
【单选题】
5. I was looking for a birthday gift for my mother, but I couldnt find ______ suitable.
A. anything B. something C. nothing D. everything
A. A
B. B
C. C
D. D
【单选题】
6. A friend of my ____ and I are going to visit_______ next week.
A. father; Browns B. father's; Browns
C. father; the Browns D. father's; the Browns
A. A
B. B
C. C
D. D
【单选题】
7. She ______ very hard since she came to our school.
A. studies B. has studied C. is studying D. studied
A. A
B. B
C. C
D. D
【单选题】
8. — Who will send you to the new school, your mom or your dad?
— _______. Ill go there by myself.
A. Both B. Either C. Neither D. None
A. A
B. B
C. C
D. D
【单选题】
9.—Well do what we can ____English well this term.
—It’s high time for you to work hard.
A. study B.to study C. be studied D. be studying
A. A
B. B
C. C
D. D
【单选题】
10. —I’m going to Flower Bookstore. Could you tell me ______?
— Sorry, I don’t know. I’m new here.
A. where it is B. where was it C. where is it D. where it was
A. A
B. B
C. C
D. D
【单选题】
11. How do you like the dishes, Eric?
— Fantastic! Nothing tastes ________.
A. nice B. better C. terrible D. worse
A. A
B. B
C. C
D. D
【单选题】
12. ______ Lin Feng has to work late, she always wears a smile on her face.
A. Because B. If C. Until D. Though
A. A
B. B
C. C
D. D
【单选题】
13.You can save money _______ you buy cheaper things.
A. before B. unless C. if D. until
A. A
B. B
C. C
D. D
【单选题】
14. We will have a _________ holiday after the exam.
A. two-month B. two month’s C. two month D. two-months
A. A
B. B
C. C
D. D
【单选题】
15. —We will build an underground in Xuzhou before 2015.
— Wow, _______! Will it pass our place?
A. what an excited news B. how excited the news is
C. what exciting news D. how exciting
A. A
B. B
C. C
D. D
【单选题】
16. — Emily, here’s a dictionary.I hope it will help you in some way.
— Thank you.It’s ________ what I need.
A. almost B. still C. only D. just
A. A
B. B
C. C
D. D
【单选题】
17. —Oh.I’m hungry.Mum, can I have the hamburger on the plate?
—No.It tastes .
A. terribly B. terrible C. good D. well
A. A
B. B
C. C
D. D
【单选题】
18. —We can invite our teachers to the farewell party next Saturday.
—Yes, ______? I’ll call them at once.
A. what for B. what C. why not D. why
A. A
B. B
C. C
D. D
【单选题】
19.You can ________ ask the old man to move away to any other place because he has lived ________ here for at least sixty years.
A. hardly; alone B. hard; alone
C. hardly; lonely D. hardly; lonely
A. A
B. B
C. C
D. D
【单选题】
20.—I’m going back to see my grandparents this weekend.
—________.
A. It’s very nice of you B. You’d better hurry
C. Say goodbye to them D. Give my best wishes to them
A. A
B. B
C. C
D. D
【单选题】
21.—Why not take ____ umbrella with the sign “Made in China”? It is useful.
—What _______ good advice it is!
A. an; a B. a; a C. an; \ D. \; a
A. A
B. B
C. C
D. D
【单选题】
22. —Do you know the boy________ is sitting next to Peter?
— Yes. He is Peter’s friend. They are celebrating his ________ birthday.
A. who; ninth B. that; ninth C. /; ninth D. which; ninth
A. A
B. B
C. C
D. D
【单选题】
23. It was dark, ______ I couldnt see what was happening.
A. or B. though C. but D. so
A. A
B. B
C. C
D. D
【单选题】
24.—You can use MSN to talk with Vivien on the Internet.
—I know. But can you tell me ________?
A. what I can use it B. when I can use it
C. why can I use it D. how can I use it
A. A
B. B
C. C
D. D
【单选题】
25. _______ are you going to the School Uniform Exhibition, Amy ?
To learn about different styles of school uniform.
A. What B. Where C. Which D. Why
A. A
B. B
C. C
D. D
【单选题】
( ) 26. Where does the writer of "The little Prince" come from?
A.England. B.France. C.America. D.China.
A. A
B. B
C. C
D. D
【单选题】
( ) 27. What does the prince do after the fox tells him a secret?
A.He cares more about a flower and a sheep.
B.He meets many more strange adults on other planets.
C.He realizes his love for the rose and he goes back to his planet.
D.He discovers interesting things such as a snake, other roses and a fox
A. A
B. B
C. C
D. D
【单选题】
( ) 28. What does "The little Prince" mainly talk about? It' s about _________.
A.the adult world B.the planet B -612
C.a rose and a fox D.the adventure of a young prince
A. A
B. B
C. C
D. D
【单选题】
( ) 29. What is the writer's main purpose(目的)in writing this passage?
A.To tell the readers his life story.
B.To tell people what kind of person his father was.
C.To tell the readers what present he got from his father.
D. To let people know how poor he was.
A. A
B. B
C. C
D. D
【单选题】
( ) 30. Why did the father not ask his son not to do this and do that?
A.Because he felt quite confident of his son.
B.Because he was born from a poor family.
C.Because he was a man of few words.
D.Because he didn't want to be much too strict with his son.
A. A
B. B
C. C
D. D