单片机试题库..pdf
《单片机试题库..pdf》由会员分享,可在线阅读,更多相关《单片机试题库..pdf(14页珍藏版)》请在淘文阁 - 分享文档赚钱的网站上搜索。
1、一.填空题:(共 133 分)1.87H 是用 8位二进制原码表示的十六进制数,其相应的十进制数是()2.MCS-51 系列单片机为()位单片机3.87H 是用 8位二进制原码表示的十六进制数,其相应的十进制数是()4.87H 是用 8位二进制原码表示的十六进制数,其相应的十进制数是()5.当单片机复位时 PSW()H,这时当前的工作寄存器区是()区,R4所对应的存储单元地址为()H。6.MCS-51 系列单片机的典型芯片分别为()()()。7.单片微型计算机由CPU、存储器和()口三部分组成。8.8031 内部数据存储器的地址范围是(),位地址空间的字节地址范围是(),对应的位地址范围是()
2、,外部数据存储器的最大可扩展容量是()。9.单片微型计算机由CPU、存储器和()口三部分组成。10.单片微型计算机由CPU、存储器和()口三部分组成。11.单片微型计算机由CPU、存储器和()口三部分组成。12.若 A中的内容为 88H,那么,P标志位为()。13.若 A中的内容为 88H,那么,P标志位为()。14.当单片机复位时 PSW ()H,SP=(),P0P3口均为()电平。15.PC 复位后内容为:()。16.在内部 RAM 中可位寻址区中,位地址为 40H的位,该位所在字节的字节地址为()17.8255 可以扩展()个并行口,其中()条口线具有位操作功能;18.若 A中的内容为
3、67H,那么,P标志位为()。19.PC 复位后内容为:()。20.8031 单片机有 4 个口,其中()口可以直接应用于I/O 口21.假设 2 个一字节的十六进制数9FH,81H相加的和仍然为 8 位二进制数,那么相加后其进位标志为()(1 或 0),溢出标志为()(0 或 1)22.假设 2 个一字节的十六进制数9FH,81H相加的和仍然为 8 位二进制数,那么相加后其进位标志为()(1 或 0),溢出标志为()(0 或 1)23.通常、单片机上电复位时PC=(),SP=();而工作寄存器则缺省采用第()组,这组寄存器的地址范围是从()。24.8031 单片机有 4 个口,其中()口可以
4、直接应用于I/O 口25.单片机的内部 RAM 区中,可以位寻址的地址范围是(),特殊功能寄存器中,可位寻址的地址是()。26.MCS-51 特殊功能寄存器只能采用()寻址方式。文档编码:CT4R10U3J8Z8 HD10Y2X8V8E8 ZH4I9Y3A7Z8文档编码:CT4R10U3J8Z8 HD10Y2X8V8E8 ZH4I9Y3A7Z8文档编码:CT4R10U3J8Z8 HD10Y2X8V8E8 ZH4I9Y3A7Z8文档编码:CT4R10U3J8Z8 HD10Y2X8V8E8 ZH4I9Y3A7Z8文档编码:CT4R10U3J8Z8 HD10Y2X8V8E8 ZH4I9Y3A7Z8文
5、档编码:CT4R10U3J8Z8 HD10Y2X8V8E8 ZH4I9Y3A7Z8文档编码:CT4R10U3J8Z8 HD10Y2X8V8E8 ZH4I9Y3A7Z8文档编码:CT4R10U3J8Z8 HD10Y2X8V8E8 ZH4I9Y3A7Z8文档编码:CT4R10U3J8Z8 HD10Y2X8V8E8 ZH4I9Y3A7Z8文档编码:CT4R10U3J8Z8 HD10Y2X8V8E8 ZH4I9Y3A7Z8文档编码:CT4R10U3J8Z8 HD10Y2X8V8E8 ZH4I9Y3A7Z8文档编码:CT4R10U3J8Z8 HD10Y2X8V8E8 ZH4I9Y3A7Z8文档编码:CT
6、4R10U3J8Z8 HD10Y2X8V8E8 ZH4I9Y3A7Z8文档编码:CT4R10U3J8Z8 HD10Y2X8V8E8 ZH4I9Y3A7Z8文档编码:CT4R10U3J8Z8 HD10Y2X8V8E8 ZH4I9Y3A7Z8文档编码:CT4R10U3J8Z8 HD10Y2X8V8E8 ZH4I9Y3A7Z8文档编码:CT4R10U3J8Z8 HD10Y2X8V8E8 ZH4I9Y3A7Z8文档编码:CT4R10U3J8Z8 HD10Y2X8V8E8 ZH4I9Y3A7Z8文档编码:CT4R10U3J8Z8 HD10Y2X8V8E8 ZH4I9Y3A7Z8文档编码:CT4R10U3
7、J8Z8 HD10Y2X8V8E8 ZH4I9Y3A7Z8文档编码:CT4R10U3J8Z8 HD10Y2X8V8E8 ZH4I9Y3A7Z8文档编码:CT4R10U3J8Z8 HD10Y2X8V8E8 ZH4I9Y3A7Z8文档编码:CT4R10U3J8Z8 HD10Y2X8V8E8 ZH4I9Y3A7Z8文档编码:CT4R10U3J8Z8 HD10Y2X8V8E8 ZH4I9Y3A7Z8文档编码:CT4R10U3J8Z8 HD10Y2X8V8E8 ZH4I9Y3A7Z8文档编码:CT4R10U3J8Z8 HD10Y2X8V8E8 ZH4I9Y3A7Z8文档编码:CT4R10U3J8Z8 H
8、D10Y2X8V8E8 ZH4I9Y3A7Z8文档编码:CT4R10U3J8Z8 HD10Y2X8V8E8 ZH4I9Y3A7Z8文档编码:CT4R10U3J8Z8 HD10Y2X8V8E8 ZH4I9Y3A7Z8文档编码:CT4R10U3J8Z8 HD10Y2X8V8E8 ZH4I9Y3A7Z8文档编码:CT4R10U3J8Z8 HD10Y2X8V8E8 ZH4I9Y3A7Z8文档编码:CT4R10U3J8Z8 HD10Y2X8V8E8 ZH4I9Y3A7Z8文档编码:CT4R10U3J8Z8 HD10Y2X8V8E8 ZH4I9Y3A7Z8文档编码:CT4R10U3J8Z8 HD10Y2X
9、8V8E8 ZH4I9Y3A7Z8文档编码:CT4R10U3J8Z8 HD10Y2X8V8E8 ZH4I9Y3A7Z8文档编码:CT4R10U3J8Z8 HD10Y2X8V8E8 ZH4I9Y3A7Z8文档编码:CT4R10U3J8Z8 HD10Y2X8V8E8 ZH4I9Y3A7Z8文档编码:CT4R10U3J8Z8 HD10Y2X8V8E8 ZH4I9Y3A7Z8文档编码:CT4R10U3J8Z8 HD10Y2X8V8E8 ZH4I9Y3A7Z8文档编码:CT4R10U3J8Z8 HD10Y2X8V8E8 ZH4I9Y3A7Z8文档编码:CT4R10U3J8Z8 HD10Y2X8V8E8
10、ZH4I9Y3A7Z8文档编码:CT4R10U3J8Z8 HD10Y2X8V8E8 ZH4I9Y3A7Z8文档编码:CT4R10U3J8Z8 HD10Y2X8V8E8 ZH4I9Y3A7Z8文档编码:CT4R10U3J8Z8 HD10Y2X8V8E8 ZH4I9Y3A7Z8文档编码:CT4R10U3J8Z8 HD10Y2X8V8E8 ZH4I9Y3A7Z8文档编码:CT4R10U3J8Z8 HD10Y2X8V8E8 ZH4I9Y3A7Z8文档编码:CT4R10U3J8Z8 HD10Y2X8V8E8 ZH4I9Y3A7Z8文档编码:CT4R10U3J8Z8 HD10Y2X8V8E8 ZH4I9Y
11、3A7Z827.如果(A)=34H,(R7)=0ABH,执行 XCH A,R7;结果(A)=(),(R7)=()28.汇编语言中可以使用伪指令,它们不是真正的指令,只是用来对()。29.MOVX A,DPTR 源操作数寻址方式为()。30.汇编语言中可以使用伪指令,它们不是真正的指令,只是用来对()。31.累加器(A)=80H,执行完指令 ADD A,#83H后,进位位 C()。32.假定累加器 A的内容 30H,执行指令:1000H:MOVC A,A+PC 后,把程序存储器 _单元的内容送累加器A中33.ORL A,#0F0H 是将 A的高四位置 1,而低四位()。34.执行下列指令组后,累
12、加器(A)()。它与 R1中内容的关系是()MOV R1,87H MOV A,R1 CPL A INC A SETB ACC.7 35.如果(DPTR)=507BH,(SP)=32H,(30H)=50H,(31H)=5FH,(32H)=3CH,则执行下列指令后:POP DPH;POP DPL;POP SP;则:(DPH)=();(DPL)=();(SP)=();36.执行下列程序段后,(P1)=()MOV P1,#5DH CPL P1.1 CPL P1.2 CLR P1.6 文档编码:CT4R10U3J8Z8 HD10Y2X8V8E8 ZH4I9Y3A7Z8文档编码:CT4R10U3J8Z8
13、HD10Y2X8V8E8 ZH4I9Y3A7Z8文档编码:CT4R10U3J8Z8 HD10Y2X8V8E8 ZH4I9Y3A7Z8文档编码:CT4R10U3J8Z8 HD10Y2X8V8E8 ZH4I9Y3A7Z8文档编码:CT4R10U3J8Z8 HD10Y2X8V8E8 ZH4I9Y3A7Z8文档编码:CT4R10U3J8Z8 HD10Y2X8V8E8 ZH4I9Y3A7Z8文档编码:CT4R10U3J8Z8 HD10Y2X8V8E8 ZH4I9Y3A7Z8文档编码:CT4R10U3J8Z8 HD10Y2X8V8E8 ZH4I9Y3A7Z8文档编码:CT4R10U3J8Z8 HD10Y2
14、X8V8E8 ZH4I9Y3A7Z8文档编码:CT4R10U3J8Z8 HD10Y2X8V8E8 ZH4I9Y3A7Z8文档编码:CT4R10U3J8Z8 HD10Y2X8V8E8 ZH4I9Y3A7Z8文档编码:CT4R10U3J8Z8 HD10Y2X8V8E8 ZH4I9Y3A7Z8文档编码:CT4R10U3J8Z8 HD10Y2X8V8E8 ZH4I9Y3A7Z8文档编码:CT4R10U3J8Z8 HD10Y2X8V8E8 ZH4I9Y3A7Z8文档编码:CT4R10U3J8Z8 HD10Y2X8V8E8 ZH4I9Y3A7Z8文档编码:CT4R10U3J8Z8 HD10Y2X8V8E8
15、 ZH4I9Y3A7Z8文档编码:CT4R10U3J8Z8 HD10Y2X8V8E8 ZH4I9Y3A7Z8文档编码:CT4R10U3J8Z8 HD10Y2X8V8E8 ZH4I9Y3A7Z8文档编码:CT4R10U3J8Z8 HD10Y2X8V8E8 ZH4I9Y3A7Z8文档编码:CT4R10U3J8Z8 HD10Y2X8V8E8 ZH4I9Y3A7Z8文档编码:CT4R10U3J8Z8 HD10Y2X8V8E8 ZH4I9Y3A7Z8文档编码:CT4R10U3J8Z8 HD10Y2X8V8E8 ZH4I9Y3A7Z8文档编码:CT4R10U3J8Z8 HD10Y2X8V8E8 ZH4I9
16、Y3A7Z8文档编码:CT4R10U3J8Z8 HD10Y2X8V8E8 ZH4I9Y3A7Z8文档编码:CT4R10U3J8Z8 HD10Y2X8V8E8 ZH4I9Y3A7Z8文档编码:CT4R10U3J8Z8 HD10Y2X8V8E8 ZH4I9Y3A7Z8文档编码:CT4R10U3J8Z8 HD10Y2X8V8E8 ZH4I9Y3A7Z8文档编码:CT4R10U3J8Z8 HD10Y2X8V8E8 ZH4I9Y3A7Z8文档编码:CT4R10U3J8Z8 HD10Y2X8V8E8 ZH4I9Y3A7Z8文档编码:CT4R10U3J8Z8 HD10Y2X8V8E8 ZH4I9Y3A7Z8
17、文档编码:CT4R10U3J8Z8 HD10Y2X8V8E8 ZH4I9Y3A7Z8文档编码:CT4R10U3J8Z8 HD10Y2X8V8E8 ZH4I9Y3A7Z8文档编码:CT4R10U3J8Z8 HD10Y2X8V8E8 ZH4I9Y3A7Z8文档编码:CT4R10U3J8Z8 HD10Y2X8V8E8 ZH4I9Y3A7Z8文档编码:CT4R10U3J8Z8 HD10Y2X8V8E8 ZH4I9Y3A7Z8文档编码:CT4R10U3J8Z8 HD10Y2X8V8E8 ZH4I9Y3A7Z8文档编码:CT4R10U3J8Z8 HD10Y2X8V8E8 ZH4I9Y3A7Z8文档编码:C
18、T4R10U3J8Z8 HD10Y2X8V8E8 ZH4I9Y3A7Z8文档编码:CT4R10U3J8Z8 HD10Y2X8V8E8 ZH4I9Y3A7Z8文档编码:CT4R10U3J8Z8 HD10Y2X8V8E8 ZH4I9Y3A7Z8文档编码:CT4R10U3J8Z8 HD10Y2X8V8E8 ZH4I9Y3A7Z8文档编码:CT4R10U3J8Z8 HD10Y2X8V8E8 ZH4I9Y3A7Z8文档编码:CT4R10U3J8Z8 HD10Y2X8V8E8 ZH4I9Y3A7Z8文档编码:CT4R10U3J8Z8 HD10Y2X8V8E8 ZH4I9Y3A7Z8文档编码:CT4R10U
19、3J8Z8 HD10Y2X8V8E8 ZH4I9Y3A7Z8文档编码:CT4R10U3J8Z8 HD10Y2X8V8E8 ZH4I9Y3A7Z8文档编码:CT4R10U3J8Z8 HD10Y2X8V8E8 ZH4I9Y3A7Z8文档编码:CT4R10U3J8Z8 HD10Y2X8V8E8 ZH4I9Y3A7Z8SETB P1.7 37.JZ e 的操作码地址为 1000H,e=20H,它转移的目标地址为()。38.如果(DPTR)=507BH,(SP)=32H,(30H)=50H,(31H)=5FH,(32H)=3CH,则执行下列指令后:POP DPH;POP DPL;POP SP;则:(DP
20、H)=();(DPL)=();(SP)=();39.累加器(A)=80H,执行完指令 ADD A,#83H后,进位位 C()。40.执行下列程序段后,(P1)=()MOV P1,#5DH CPL P1.1 CPL P1.2 CLR P1.6 SETB P1.7 41.已知(SP)=60H,子程序 SUBTRN 的首地址为 0345H,现执行位于 0123H的 ACALL SUBTRN 双字节指令后,(PC)=(),(61H)=(),(62H)=()。42.ORL A,#0F0H 是将 A的高四位置 1,而低四位()。43.如果(A)=58H,(R1)=49H,(49H)=79H,执行指令 XC
21、H A,R1 后;结果(A)=(),(49H)=()。44.已知 fosc=12MHz,T0 作为定时器使用时,其定时时间间隔为()。45.8031 单片机中,T0 初始后让其开始计数,应将TCON 中的()位置 1 文档编码:CT4R10U3J8Z8 HD10Y2X8V8E8 ZH4I9Y3A7Z8文档编码:CT4R10U3J8Z8 HD10Y2X8V8E8 ZH4I9Y3A7Z8文档编码:CT4R10U3J8Z8 HD10Y2X8V8E8 ZH4I9Y3A7Z8文档编码:CT4R10U3J8Z8 HD10Y2X8V8E8 ZH4I9Y3A7Z8文档编码:CT4R10U3J8Z8 HD10Y
22、2X8V8E8 ZH4I9Y3A7Z8文档编码:CT4R10U3J8Z8 HD10Y2X8V8E8 ZH4I9Y3A7Z8文档编码:CT4R10U3J8Z8 HD10Y2X8V8E8 ZH4I9Y3A7Z8文档编码:CT4R10U3J8Z8 HD10Y2X8V8E8 ZH4I9Y3A7Z8文档编码:CT4R10U3J8Z8 HD10Y2X8V8E8 ZH4I9Y3A7Z8文档编码:CT4R10U3J8Z8 HD10Y2X8V8E8 ZH4I9Y3A7Z8文档编码:CT4R10U3J8Z8 HD10Y2X8V8E8 ZH4I9Y3A7Z8文档编码:CT4R10U3J8Z8 HD10Y2X8V8E
23、8 ZH4I9Y3A7Z8文档编码:CT4R10U3J8Z8 HD10Y2X8V8E8 ZH4I9Y3A7Z8文档编码:CT4R10U3J8Z8 HD10Y2X8V8E8 ZH4I9Y3A7Z8文档编码:CT4R10U3J8Z8 HD10Y2X8V8E8 ZH4I9Y3A7Z8文档编码:CT4R10U3J8Z8 HD10Y2X8V8E8 ZH4I9Y3A7Z8文档编码:CT4R10U3J8Z8 HD10Y2X8V8E8 ZH4I9Y3A7Z8文档编码:CT4R10U3J8Z8 HD10Y2X8V8E8 ZH4I9Y3A7Z8文档编码:CT4R10U3J8Z8 HD10Y2X8V8E8 ZH4I
24、9Y3A7Z8文档编码:CT4R10U3J8Z8 HD10Y2X8V8E8 ZH4I9Y3A7Z8文档编码:CT4R10U3J8Z8 HD10Y2X8V8E8 ZH4I9Y3A7Z8文档编码:CT4R10U3J8Z8 HD10Y2X8V8E8 ZH4I9Y3A7Z8文档编码:CT4R10U3J8Z8 HD10Y2X8V8E8 ZH4I9Y3A7Z8文档编码:CT4R10U3J8Z8 HD10Y2X8V8E8 ZH4I9Y3A7Z8文档编码:CT4R10U3J8Z8 HD10Y2X8V8E8 ZH4I9Y3A7Z8文档编码:CT4R10U3J8Z8 HD10Y2X8V8E8 ZH4I9Y3A7Z
25、8文档编码:CT4R10U3J8Z8 HD10Y2X8V8E8 ZH4I9Y3A7Z8文档编码:CT4R10U3J8Z8 HD10Y2X8V8E8 ZH4I9Y3A7Z8文档编码:CT4R10U3J8Z8 HD10Y2X8V8E8 ZH4I9Y3A7Z8文档编码:CT4R10U3J8Z8 HD10Y2X8V8E8 ZH4I9Y3A7Z8文档编码:CT4R10U3J8Z8 HD10Y2X8V8E8 ZH4I9Y3A7Z8文档编码:CT4R10U3J8Z8 HD10Y2X8V8E8 ZH4I9Y3A7Z8文档编码:CT4R10U3J8Z8 HD10Y2X8V8E8 ZH4I9Y3A7Z8文档编码:
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- 单片机 试题库
限制150内