《单片机复习资料.pdf》由会员分享,可在线阅读,更多相关《单片机复习资料.pdf(8页珍藏版)》请在taowenge.com淘文阁网|工程机械CAD图纸|机械工程制图|CAD装配图下载|SolidWorks_CaTia_CAD_UG_PROE_设计图分享下载上搜索。
1、名师精编优秀资料一、填空1 十六进制数若为字母打头,则在汇编语言中使用时,前面须加一个。2 BCD码 00110100转换为十六进制数等于。3 根据二进制编码和译码的原理,n 根地址线可以译成个地址号。4 堆栈是个特殊的存储区,它按照原则存取数据。5 读引脚时,先向引脚。6 P0 口用作输出口,若驱动NMOS 或其他拉电流负载,需外接。7 80C51 单片机外部中断 1(INT1)的中断入口地址是。8 定时/计数器作为定时器使用时,计数脉冲是由产生的,这个信号的频率和幅值都是稳定的。9 80C51 单片机的程序存储器和数据存储器在物理结构上是分开的,这种结构称为结构。10在 4 组通用工作寄存
2、器(0-3 组)中,2 组通用工作寄存器的R0是片内数据存储器的单元。1180C51单片机 UART 串行接口工作在方式0 时,其波特率为。12CPU 中工作最繁忙的寄存器是。13.单片机若使用扩展的片外程序存储器,则必须把EA引脚。14.决定程序执行的顺序是寄存器。15.MCS-51单片机的 P2口做地址总线使用时,构成地址的。16.串行通信中有和异步两种基本方式。17.C51 中存储类型 XDATA 定义的是存储空间。18.当需要从 MCS-51单片机程序存储器取数据时,采用的指令为。19.MOV A,#0AH采用的是寻址方式。20.MCS-51单片机外部中断请求信号有电平触发方式和方式。
3、二、简述题1.简述单片机存储器的结构。三、分析题1已知 80C51 单片机使用 12MHZ 晶振,要求设计一个软件延时程序,延时时间为 10ms。修改以下程序,使其实现以上延时要求。周期数ORG 0100H1 MOV R0,#0AH;1 DL2:MOV R1,#255 1 DL1:NOP 2 DJNZ R1,DL2 2 DJNZ R0,DL1 END 2.修改以下程序实现下表功能输入输出P1.0 P1.1 P1.2 P1.3 P1.4 P1.5 0 0 0 1 1 1 0 1 1 0 1 1 1 0 1 1 0 1 1 1 1 1 1 0 源 程 序名师精编优秀资料 ORG 0000H LJM
4、P START ORG 0100H START:MOV P1,0FFH LP:MOV A,P1 MOV DPTR,#4200 ANL A,#00000011B MOVC A,A+DPTR MOV P1,A LJMP LP ORG 4220H DB 0FBH,0F6H,0EDH,0DFH END 四、应用题1设有 100 个有符号数,连续存放在以2000H 为首地址的存储区域中,试编程统计其中正数、负数和零的个数。2.单片机 P2.0-P2.7分别接发光二极管D1-D8,要求利用定时器T1,编程实现D1-D8 循环点亮,点亮的时间间隔为50ms。XTAL218XTAL119ALE30EA31PS
5、EN29RST9P0.0/AD039P0.1/AD138P0.2/AD237P0.3/AD336P0.4/AD435P0.5/AD534P0.6/AD633P0.7/AD732P1.0/T21P1.1/T2EX2P1.23P1.34P1.45P1.56P1.67P1.78P3.0/RXD10P3.1/TXD11P3.2/INT012P3.3/INT113P3.4/T014P3.7/RD17P3.6/WR16P3.5/T115P2.7/A1528P2.0/A821P2.1/A922P2.2/A1023P2.3/A1124P2.4/A1225P2.5/A1326P2.6/A1427U1AT89C5
6、2D1R1300D2R2300D3R3300D4R4300D5R5300D6R6300D7R7300D8R8300VCC3设计一个数码显示接口电路,采用动态扫描方式显示0-3 四个数字。(含程序设计、电路设计)。文档编码:CP4D8O6T10G1 HR5C5K3D10U3 ZM5A9V4Y3J10文档编码:CP4D8O6T10G1 HR5C5K3D10U3 ZM5A9V4Y3J10文档编码:CP4D8O6T10G1 HR5C5K3D10U3 ZM5A9V4Y3J10文档编码:CP4D8O6T10G1 HR5C5K3D10U3 ZM5A9V4Y3J10文档编码:CP4D8O6T10G1 HR5C
7、5K3D10U3 ZM5A9V4Y3J10文档编码:CP4D8O6T10G1 HR5C5K3D10U3 ZM5A9V4Y3J10文档编码:CP4D8O6T10G1 HR5C5K3D10U3 ZM5A9V4Y3J10文档编码:CP4D8O6T10G1 HR5C5K3D10U3 ZM5A9V4Y3J10文档编码:CP4D8O6T10G1 HR5C5K3D10U3 ZM5A9V4Y3J10文档编码:CP4D8O6T10G1 HR5C5K3D10U3 ZM5A9V4Y3J10文档编码:CP4D8O6T10G1 HR5C5K3D10U3 ZM5A9V4Y3J10文档编码:CP4D8O6T10G1 HR5
8、C5K3D10U3 ZM5A9V4Y3J10文档编码:CP4D8O6T10G1 HR5C5K3D10U3 ZM5A9V4Y3J10文档编码:CP4D8O6T10G1 HR5C5K3D10U3 ZM5A9V4Y3J10文档编码:CP4D8O6T10G1 HR5C5K3D10U3 ZM5A9V4Y3J10文档编码:CP4D8O6T10G1 HR5C5K3D10U3 ZM5A9V4Y3J10文档编码:CP4D8O6T10G1 HR5C5K3D10U3 ZM5A9V4Y3J10文档编码:CP4D8O6T10G1 HR5C5K3D10U3 ZM5A9V4Y3J10文档编码:CP4D8O6T10G1 HR
9、5C5K3D10U3 ZM5A9V4Y3J10文档编码:CP4D8O6T10G1 HR5C5K3D10U3 ZM5A9V4Y3J10文档编码:CP4D8O6T10G1 HR5C5K3D10U3 ZM5A9V4Y3J10文档编码:CP4D8O6T10G1 HR5C5K3D10U3 ZM5A9V4Y3J10文档编码:CP4D8O6T10G1 HR5C5K3D10U3 ZM5A9V4Y3J10文档编码:CP4D8O6T10G1 HR5C5K3D10U3 ZM5A9V4Y3J10文档编码:CP4D8O6T10G1 HR5C5K3D10U3 ZM5A9V4Y3J10文档编码:CP4D8O6T10G1 H
10、R5C5K3D10U3 ZM5A9V4Y3J10文档编码:CP4D8O6T10G1 HR5C5K3D10U3 ZM5A9V4Y3J10文档编码:CP4D8O6T10G1 HR5C5K3D10U3 ZM5A9V4Y3J10文档编码:CP4D8O6T10G1 HR5C5K3D10U3 ZM5A9V4Y3J10文档编码:CP4D8O6T10G1 HR5C5K3D10U3 ZM5A9V4Y3J10文档编码:CP4D8O6T10G1 HR5C5K3D10U3 ZM5A9V4Y3J10文档编码:CP4D8O6T10G1 HR5C5K3D10U3 ZM5A9V4Y3J10文档编码:CP4D8O6T10G1
11、HR5C5K3D10U3 ZM5A9V4Y3J10文档编码:CP4D8O6T10G1 HR5C5K3D10U3 ZM5A9V4Y3J10文档编码:CP4D8O6T10G1 HR5C5K3D10U3 ZM5A9V4Y3J10文档编码:CP4D8O6T10G1 HR5C5K3D10U3 ZM5A9V4Y3J10文档编码:CP4D8O6T10G1 HR5C5K3D10U3 ZM5A9V4Y3J10文档编码:CP4D8O6T10G1 HR5C5K3D10U3 ZM5A9V4Y3J10文档编码:CP4D8O6T10G1 HR5C5K3D10U3 ZM5A9V4Y3J10文档编码:CP4D8O6T10G1
12、 HR5C5K3D10U3 ZM5A9V4Y3J10文档编码:CP4D8O6T10G1 HR5C5K3D10U3 ZM5A9V4Y3J10文档编码:CP4D8O6T10G1 HR5C5K3D10U3 ZM5A9V4Y3J10文档编码:CP4D8O6T10G1 HR5C5K3D10U3 ZM5A9V4Y3J10文档编码:CP4D8O6T10G1 HR5C5K3D10U3 ZM5A9V4Y3J10文档编码:CP4D8O6T10G1 HR5C5K3D10U3 ZM5A9V4Y3J10文档编码:CP4D8O6T10G1 HR5C5K3D10U3 ZM5A9V4Y3J10文档编码:CP4D8O6T10G
13、1 HR5C5K3D10U3 ZM5A9V4Y3J10文档编码:CP4D8O6T10G1 HR5C5K3D10U3 ZM5A9V4Y3J10名师精编优秀资料一、填空1单片机就是在一块单片机芯片上集成了_、_、_等部件,使单片机具有计算机的基本功能,因此,单片机又称为_。2存储器分、两种,在物理空间上,单片机的存储器分成个空间,在逻辑上分成、三个空间。3P0口作通用的 I/O 口使用时一定要,P3口除了作通用的I/O口使用外还具有。4指令 JMP A+DPTR用于结构的程序设计。5 Proteus电子设计软件是目前唯一能仿真CPU的电子设计软件。在Proteus设计环境能完成、等电路的设计和指标
14、分析,Proteus 有和两种仿真。6、根据键盘的结构,键盘分和两种。7.外部中断有两种触发方式,它们分别是_和_。二、选择题1在下列存储器中,掉电后,存储器中的数据会丢失的是()。A.ROM B.SRAM C.EPROM D.FLASH MEMORY 2若使用扩展的外部程序存储器,则必须将引EA()。A.接5V电源 B.接地 C.悬空 D.和程序存储器对应引脚相连3.在程序设计过程中,若要建立数据表格,使用的伪指令为()。A.DW B.DB C.DS D.XDATA 4.设当前 PC的值为 0900H,则执行无条件转移指令 AJMP 03FFH 指令后,程序转移的目的地址为()。A.01FF
15、H B.0BFFH C.03FFH D.04FFH 5.8051双机通信是,双方的波特率必须(),且发送脚和接收脚的连接必须()。A.相等平行 B.不等交叉 C.不等平行D.相等交叉6.8051 单片机的中断源中,对中断源的优先级进行设置时通过对下列()寄存器的设置实现的。A.TCON B.SCON C.IP D.IE 7.若 8051 的中断源都处于同一优先级,则下列的中断源同时申请中断时,CPU 优先响应的中断源为()。A.定时器 0 溢出中断 B.定时器 1 溢出中断 C.外部中断 1 D.串行口中断8.外部中断 1 的中断入口地址为()。A.0003H B.000BH C.0013H
16、D.0023H 文档编码:CP4D8O6T10G1 HR5C5K3D10U3 ZM5A9V4Y3J10文档编码:CP4D8O6T10G1 HR5C5K3D10U3 ZM5A9V4Y3J10文档编码:CP4D8O6T10G1 HR5C5K3D10U3 ZM5A9V4Y3J10文档编码:CP4D8O6T10G1 HR5C5K3D10U3 ZM5A9V4Y3J10文档编码:CP4D8O6T10G1 HR5C5K3D10U3 ZM5A9V4Y3J10文档编码:CP4D8O6T10G1 HR5C5K3D10U3 ZM5A9V4Y3J10文档编码:CP4D8O6T10G1 HR5C5K3D10U3 ZM5
17、A9V4Y3J10文档编码:CP4D8O6T10G1 HR5C5K3D10U3 ZM5A9V4Y3J10文档编码:CP4D8O6T10G1 HR5C5K3D10U3 ZM5A9V4Y3J10文档编码:CP4D8O6T10G1 HR5C5K3D10U3 ZM5A9V4Y3J10文档编码:CP4D8O6T10G1 HR5C5K3D10U3 ZM5A9V4Y3J10文档编码:CP4D8O6T10G1 HR5C5K3D10U3 ZM5A9V4Y3J10文档编码:CP4D8O6T10G1 HR5C5K3D10U3 ZM5A9V4Y3J10文档编码:CP4D8O6T10G1 HR5C5K3D10U3 ZM
18、5A9V4Y3J10文档编码:CP4D8O6T10G1 HR5C5K3D10U3 ZM5A9V4Y3J10文档编码:CP4D8O6T10G1 HR5C5K3D10U3 ZM5A9V4Y3J10文档编码:CP4D8O6T10G1 HR5C5K3D10U3 ZM5A9V4Y3J10文档编码:CP4D8O6T10G1 HR5C5K3D10U3 ZM5A9V4Y3J10文档编码:CP4D8O6T10G1 HR5C5K3D10U3 ZM5A9V4Y3J10文档编码:CP4D8O6T10G1 HR5C5K3D10U3 ZM5A9V4Y3J10文档编码:CP4D8O6T10G1 HR5C5K3D10U3 Z
19、M5A9V4Y3J10文档编码:CP4D8O6T10G1 HR5C5K3D10U3 ZM5A9V4Y3J10文档编码:CP4D8O6T10G1 HR5C5K3D10U3 ZM5A9V4Y3J10文档编码:CP4D8O6T10G1 HR5C5K3D10U3 ZM5A9V4Y3J10文档编码:CP4D8O6T10G1 HR5C5K3D10U3 ZM5A9V4Y3J10文档编码:CP4D8O6T10G1 HR5C5K3D10U3 ZM5A9V4Y3J10文档编码:CP4D8O6T10G1 HR5C5K3D10U3 ZM5A9V4Y3J10文档编码:CP4D8O6T10G1 HR5C5K3D10U3
20、ZM5A9V4Y3J10文档编码:CP4D8O6T10G1 HR5C5K3D10U3 ZM5A9V4Y3J10文档编码:CP4D8O6T10G1 HR5C5K3D10U3 ZM5A9V4Y3J10文档编码:CP4D8O6T10G1 HR5C5K3D10U3 ZM5A9V4Y3J10文档编码:CP4D8O6T10G1 HR5C5K3D10U3 ZM5A9V4Y3J10文档编码:CP4D8O6T10G1 HR5C5K3D10U3 ZM5A9V4Y3J10文档编码:CP4D8O6T10G1 HR5C5K3D10U3 ZM5A9V4Y3J10文档编码:CP4D8O6T10G1 HR5C5K3D10U3
21、 ZM5A9V4Y3J10文档编码:CP4D8O6T10G1 HR5C5K3D10U3 ZM5A9V4Y3J10文档编码:CP4D8O6T10G1 HR5C5K3D10U3 ZM5A9V4Y3J10文档编码:CP4D8O6T10G1 HR5C5K3D10U3 ZM5A9V4Y3J10文档编码:CP4D8O6T10G1 HR5C5K3D10U3 ZM5A9V4Y3J10文档编码:CP4D8O6T10G1 HR5C5K3D10U3 ZM5A9V4Y3J10文档编码:CP4D8O6T10G1 HR5C5K3D10U3 ZM5A9V4Y3J10文档编码:CP4D8O6T10G1 HR5C5K3D10U
22、3 ZM5A9V4Y3J10文档编码:CP4D8O6T10G1 HR5C5K3D10U3 ZM5A9V4Y3J10文档编码:CP4D8O6T10G1 HR5C5K3D10U3 ZM5A9V4Y3J10文档编码:CP4D8O6T10G1 HR5C5K3D10U3 ZM5A9V4Y3J10文档编码:CP4D8O6T10G1 HR5C5K3D10U3 ZM5A9V4Y3J10文档编码:CP4D8O6T10G1 HR5C5K3D10U3 ZM5A9V4Y3J10文档编码:CP4D8O6T10G1 HR5C5K3D10U3 ZM5A9V4Y3J10名师精编优秀资料三、简述题1.简述单片机的基本结构2.简
23、述子程序与中断服务程序的区别四、阅读与理解1.如果 P1 口接发光二极管(低电平发光),执行下面程序,将看到什么现象。ORG 0000H SJMP MAIN MAIN:MOV A,#0FEH LP:MOV P1,A LCALL DS01 RL A LJMP LP DS01:MOV R0,#0FFH D1:MOV R1,#0FFH D2:DJNZ R1,D2 DJNZ R0,D1 RET END 2下面程序实现的功能?#include sbit l1=P10;void delay()unsigned char i,j,k;for(i=20;i0;i-)for(j=20;j0;j-)for(k=2
24、48;k0;k-);void main(void)while(1)l1=0;delay();l1=1;delay();五、程序设计1如图所示,编程将接在单片机端口的拨码开关DSW1 的状态用 LED数码管显示。文档编码:CP4D8O6T10G1 HR5C5K3D10U3 ZM5A9V4Y3J10文档编码:CP4D8O6T10G1 HR5C5K3D10U3 ZM5A9V4Y3J10文档编码:CP4D8O6T10G1 HR5C5K3D10U3 ZM5A9V4Y3J10文档编码:CP4D8O6T10G1 HR5C5K3D10U3 ZM5A9V4Y3J10文档编码:CP4D8O6T10G1 HR5C5
25、K3D10U3 ZM5A9V4Y3J10文档编码:CP4D8O6T10G1 HR5C5K3D10U3 ZM5A9V4Y3J10文档编码:CP4D8O6T10G1 HR5C5K3D10U3 ZM5A9V4Y3J10文档编码:CP4D8O6T10G1 HR5C5K3D10U3 ZM5A9V4Y3J10文档编码:CP4D8O6T10G1 HR5C5K3D10U3 ZM5A9V4Y3J10文档编码:CP4D8O6T10G1 HR5C5K3D10U3 ZM5A9V4Y3J10文档编码:CP4D8O6T10G1 HR5C5K3D10U3 ZM5A9V4Y3J10文档编码:CP4D8O6T10G1 HR5C
26、5K3D10U3 ZM5A9V4Y3J10文档编码:CP4D8O6T10G1 HR5C5K3D10U3 ZM5A9V4Y3J10文档编码:CP4D8O6T10G1 HR5C5K3D10U3 ZM5A9V4Y3J10文档编码:CP4D8O6T10G1 HR5C5K3D10U3 ZM5A9V4Y3J10文档编码:CP4D8O6T10G1 HR5C5K3D10U3 ZM5A9V4Y3J10文档编码:CP4D8O6T10G1 HR5C5K3D10U3 ZM5A9V4Y3J10文档编码:CP4D8O6T10G1 HR5C5K3D10U3 ZM5A9V4Y3J10文档编码:CP4D8O6T10G1 HR5
27、C5K3D10U3 ZM5A9V4Y3J10文档编码:CP4D8O6T10G1 HR5C5K3D10U3 ZM5A9V4Y3J10文档编码:CP4D8O6T10G1 HR5C5K3D10U3 ZM5A9V4Y3J10文档编码:CP4D8O6T10G1 HR5C5K3D10U3 ZM5A9V4Y3J10文档编码:CP4D8O6T10G1 HR5C5K3D10U3 ZM5A9V4Y3J10文档编码:CP4D8O6T10G1 HR5C5K3D10U3 ZM5A9V4Y3J10文档编码:CP4D8O6T10G1 HR5C5K3D10U3 ZM5A9V4Y3J10文档编码:CP4D8O6T10G1 HR
28、5C5K3D10U3 ZM5A9V4Y3J10文档编码:CP4D8O6T10G1 HR5C5K3D10U3 ZM5A9V4Y3J10文档编码:CP4D8O6T10G1 HR5C5K3D10U3 ZM5A9V4Y3J10文档编码:CP4D8O6T10G1 HR5C5K3D10U3 ZM5A9V4Y3J10文档编码:CP4D8O6T10G1 HR5C5K3D10U3 ZM5A9V4Y3J10文档编码:CP4D8O6T10G1 HR5C5K3D10U3 ZM5A9V4Y3J10文档编码:CP4D8O6T10G1 HR5C5K3D10U3 ZM5A9V4Y3J10文档编码:CP4D8O6T10G1 H
29、R5C5K3D10U3 ZM5A9V4Y3J10文档编码:CP4D8O6T10G1 HR5C5K3D10U3 ZM5A9V4Y3J10文档编码:CP4D8O6T10G1 HR5C5K3D10U3 ZM5A9V4Y3J10文档编码:CP4D8O6T10G1 HR5C5K3D10U3 ZM5A9V4Y3J10文档编码:CP4D8O6T10G1 HR5C5K3D10U3 ZM5A9V4Y3J10文档编码:CP4D8O6T10G1 HR5C5K3D10U3 ZM5A9V4Y3J10文档编码:CP4D8O6T10G1 HR5C5K3D10U3 ZM5A9V4Y3J10文档编码:CP4D8O6T10G1
30、HR5C5K3D10U3 ZM5A9V4Y3J10文档编码:CP4D8O6T10G1 HR5C5K3D10U3 ZM5A9V4Y3J10文档编码:CP4D8O6T10G1 HR5C5K3D10U3 ZM5A9V4Y3J10文档编码:CP4D8O6T10G1 HR5C5K3D10U3 ZM5A9V4Y3J10文档编码:CP4D8O6T10G1 HR5C5K3D10U3 ZM5A9V4Y3J10文档编码:CP4D8O6T10G1 HR5C5K3D10U3 ZM5A9V4Y3J10文档编码:CP4D8O6T10G1 HR5C5K3D10U3 ZM5A9V4Y3J10文档编码:CP4D8O6T10G1
31、 HR5C5K3D10U3 ZM5A9V4Y3J10文档编码:CP4D8O6T10G1 HR5C5K3D10U3 ZM5A9V4Y3J10名师精编优秀资料(提示:共阴数码管,0-F 的代码为 3FH,06H,5BH,4FH,66H,6DH,7DH,07H,7FH,6FH,77H,7CH,39H,5EH,79H,71H)2.如图所示,单片机的 P1口接发光二极管。正常情况下,发光二极管从 P1.0-P1.7 循环点。外部中断0 和外部中断 1为同级中断,当外部中断0 产生时,发光二极管同时闪烁5 次;当外部中断 1 产生时,P1口高 4 位和低四位交替闪烁5次,试编写实现上述功能的程序。文档编码
32、:CP4D8O6T10G1 HR5C5K3D10U3 ZM5A9V4Y3J10文档编码:CP4D8O6T10G1 HR5C5K3D10U3 ZM5A9V4Y3J10文档编码:CP4D8O6T10G1 HR5C5K3D10U3 ZM5A9V4Y3J10文档编码:CP4D8O6T10G1 HR5C5K3D10U3 ZM5A9V4Y3J10文档编码:CP4D8O6T10G1 HR5C5K3D10U3 ZM5A9V4Y3J10文档编码:CP4D8O6T10G1 HR5C5K3D10U3 ZM5A9V4Y3J10文档编码:CP4D8O6T10G1 HR5C5K3D10U3 ZM5A9V4Y3J10文档编
33、码:CP4D8O6T10G1 HR5C5K3D10U3 ZM5A9V4Y3J10文档编码:CP4D8O6T10G1 HR5C5K3D10U3 ZM5A9V4Y3J10文档编码:CP4D8O6T10G1 HR5C5K3D10U3 ZM5A9V4Y3J10文档编码:CP4D8O6T10G1 HR5C5K3D10U3 ZM5A9V4Y3J10文档编码:CP4D8O6T10G1 HR5C5K3D10U3 ZM5A9V4Y3J10文档编码:CP4D8O6T10G1 HR5C5K3D10U3 ZM5A9V4Y3J10文档编码:CP4D8O6T10G1 HR5C5K3D10U3 ZM5A9V4Y3J10文档
34、编码:CP4D8O6T10G1 HR5C5K3D10U3 ZM5A9V4Y3J10文档编码:CP4D8O6T10G1 HR5C5K3D10U3 ZM5A9V4Y3J10文档编码:CP4D8O6T10G1 HR5C5K3D10U3 ZM5A9V4Y3J10文档编码:CP4D8O6T10G1 HR5C5K3D10U3 ZM5A9V4Y3J10文档编码:CP4D8O6T10G1 HR5C5K3D10U3 ZM5A9V4Y3J10文档编码:CP4D8O6T10G1 HR5C5K3D10U3 ZM5A9V4Y3J10文档编码:CP4D8O6T10G1 HR5C5K3D10U3 ZM5A9V4Y3J10文
35、档编码:CP4D8O6T10G1 HR5C5K3D10U3 ZM5A9V4Y3J10文档编码:CP4D8O6T10G1 HR5C5K3D10U3 ZM5A9V4Y3J10文档编码:CP4D8O6T10G1 HR5C5K3D10U3 ZM5A9V4Y3J10文档编码:CP4D8O6T10G1 HR5C5K3D10U3 ZM5A9V4Y3J10文档编码:CP4D8O6T10G1 HR5C5K3D10U3 ZM5A9V4Y3J10文档编码:CP4D8O6T10G1 HR5C5K3D10U3 ZM5A9V4Y3J10文档编码:CP4D8O6T10G1 HR5C5K3D10U3 ZM5A9V4Y3J10
36、文档编码:CP4D8O6T10G1 HR5C5K3D10U3 ZM5A9V4Y3J10文档编码:CP4D8O6T10G1 HR5C5K3D10U3 ZM5A9V4Y3J10文档编码:CP4D8O6T10G1 HR5C5K3D10U3 ZM5A9V4Y3J10文档编码:CP4D8O6T10G1 HR5C5K3D10U3 ZM5A9V4Y3J10文档编码:CP4D8O6T10G1 HR5C5K3D10U3 ZM5A9V4Y3J10文档编码:CP4D8O6T10G1 HR5C5K3D10U3 ZM5A9V4Y3J10文档编码:CP4D8O6T10G1 HR5C5K3D10U3 ZM5A9V4Y3J1
37、0文档编码:CP4D8O6T10G1 HR5C5K3D10U3 ZM5A9V4Y3J10文档编码:CP4D8O6T10G1 HR5C5K3D10U3 ZM5A9V4Y3J10文档编码:CP4D8O6T10G1 HR5C5K3D10U3 ZM5A9V4Y3J10文档编码:CP4D8O6T10G1 HR5C5K3D10U3 ZM5A9V4Y3J10文档编码:CP4D8O6T10G1 HR5C5K3D10U3 ZM5A9V4Y3J10文档编码:CP4D8O6T10G1 HR5C5K3D10U3 ZM5A9V4Y3J10文档编码:CP4D8O6T10G1 HR5C5K3D10U3 ZM5A9V4Y3J
38、10文档编码:CP4D8O6T10G1 HR5C5K3D10U3 ZM5A9V4Y3J10文档编码:CP4D8O6T10G1 HR5C5K3D10U3 ZM5A9V4Y3J10文档编码:CP4D8O6T10G1 HR5C5K3D10U3 ZM5A9V4Y3J10文档编码:CP4D8O6T10G1 HR5C5K3D10U3 ZM5A9V4Y3J10文档编码:CP4D8O6T10G1 HR5C5K3D10U3 ZM5A9V4Y3J10文档编码:CP4D8O6T10G1 HR5C5K3D10U3 ZM5A9V4Y3J10名师精编优秀资料一、填空1 十六进制数若为字母打头,则在汇编语言中使用时,前面须
39、加一个。2 BCD码 00110100转换为十六进制数等于。3 根据二进制编码和译码的原理,n 根地址线的存储器可有个存储单元。4 堆栈是个特殊的存储区,它按照原则存取数据。5 读引脚时,必须先向引脚。6 P0 口用作通用的 I/O 口时,需外接。7 80C51 单片机外部中断 0(INT0)的中断入口地址是。8 定时/计数器作为定时器使用时,计数脉冲是由产生的,这个信号的频率和幅值都是稳定的。9 80C51 单片机的程序存储器和数据存储器在物理结构上是分开的,这种结构称为结构。10在 4 组通用工作寄存器(0-3 组)中,第 2 组通用工作寄存器的R0,其在片内数据存储器的单元。1180C5
40、1单片机 UART 串行接口工作在方式0 时,其波特率为。12CPU 中工作最繁忙的寄存器是。13.单片机若使用扩展的片外程序存储器,则必须把EA引脚。14.决定程序执行的顺序是寄存器。15.MCS-51单片机的 P2口做地址总线使用时,构成地址的。16.串行通信中有和异步两种基本方式。17.C51 中存储类型 XDATA 定义的是存储空间。18.当需要从 MCS-51单片机程序存储器取数据时,采用的指令为。19.MOV A,#0AH采用的是寻址方式。20.MCS-51单片机外部中断请求信号有电平触发方式和方式。二、简述题简述单片机存储器的结构。三、分析题1下面程序有错误,请将其更正(6 分)
41、。ORG 0100H MOV R0,#0AH;DL2:MOV R1,#255 DL1:NOP DJNZ R1,DL2 文档编码:CP4D8O6T10G1 HR5C5K3D10U3 ZM5A9V4Y3J10文档编码:CP4D8O6T10G1 HR5C5K3D10U3 ZM5A9V4Y3J10文档编码:CP4D8O6T10G1 HR5C5K3D10U3 ZM5A9V4Y3J10文档编码:CP4D8O6T10G1 HR5C5K3D10U3 ZM5A9V4Y3J10文档编码:CP4D8O6T10G1 HR5C5K3D10U3 ZM5A9V4Y3J10文档编码:CP4D8O6T10G1 HR5C5K3D
42、10U3 ZM5A9V4Y3J10文档编码:CP4D8O6T10G1 HR5C5K3D10U3 ZM5A9V4Y3J10文档编码:CP4D8O6T10G1 HR5C5K3D10U3 ZM5A9V4Y3J10文档编码:CP4D8O6T10G1 HR5C5K3D10U3 ZM5A9V4Y3J10文档编码:CP4D8O6T10G1 HR5C5K3D10U3 ZM5A9V4Y3J10文档编码:CP4D8O6T10G1 HR5C5K3D10U3 ZM5A9V4Y3J10文档编码:CP4D8O6T10G1 HR5C5K3D10U3 ZM5A9V4Y3J10文档编码:CP4D8O6T10G1 HR5C5K3
43、D10U3 ZM5A9V4Y3J10文档编码:CP4D8O6T10G1 HR5C5K3D10U3 ZM5A9V4Y3J10文档编码:CP4D8O6T10G1 HR5C5K3D10U3 ZM5A9V4Y3J10文档编码:CP4D8O6T10G1 HR5C5K3D10U3 ZM5A9V4Y3J10文档编码:CP4D8O6T10G1 HR5C5K3D10U3 ZM5A9V4Y3J10文档编码:CP4D8O6T10G1 HR5C5K3D10U3 ZM5A9V4Y3J10文档编码:CP4D8O6T10G1 HR5C5K3D10U3 ZM5A9V4Y3J10文档编码:CP4D8O6T10G1 HR5C5K
44、3D10U3 ZM5A9V4Y3J10文档编码:CP4D8O6T10G1 HR5C5K3D10U3 ZM5A9V4Y3J10文档编码:CP4D8O6T10G1 HR5C5K3D10U3 ZM5A9V4Y3J10文档编码:CP4D8O6T10G1 HR5C5K3D10U3 ZM5A9V4Y3J10文档编码:CP4D8O6T10G1 HR5C5K3D10U3 ZM5A9V4Y3J10文档编码:CP4D8O6T10G1 HR5C5K3D10U3 ZM5A9V4Y3J10文档编码:CP4D8O6T10G1 HR5C5K3D10U3 ZM5A9V4Y3J10文档编码:CP4D8O6T10G1 HR5C5
45、K3D10U3 ZM5A9V4Y3J10文档编码:CP4D8O6T10G1 HR5C5K3D10U3 ZM5A9V4Y3J10文档编码:CP4D8O6T10G1 HR5C5K3D10U3 ZM5A9V4Y3J10文档编码:CP4D8O6T10G1 HR5C5K3D10U3 ZM5A9V4Y3J10文档编码:CP4D8O6T10G1 HR5C5K3D10U3 ZM5A9V4Y3J10文档编码:CP4D8O6T10G1 HR5C5K3D10U3 ZM5A9V4Y3J10文档编码:CP4D8O6T10G1 HR5C5K3D10U3 ZM5A9V4Y3J10文档编码:CP4D8O6T10G1 HR5C
46、5K3D10U3 ZM5A9V4Y3J10文档编码:CP4D8O6T10G1 HR5C5K3D10U3 ZM5A9V4Y3J10文档编码:CP4D8O6T10G1 HR5C5K3D10U3 ZM5A9V4Y3J10文档编码:CP4D8O6T10G1 HR5C5K3D10U3 ZM5A9V4Y3J10文档编码:CP4D8O6T10G1 HR5C5K3D10U3 ZM5A9V4Y3J10文档编码:CP4D8O6T10G1 HR5C5K3D10U3 ZM5A9V4Y3J10文档编码:CP4D8O6T10G1 HR5C5K3D10U3 ZM5A9V4Y3J10文档编码:CP4D8O6T10G1 HR5
47、C5K3D10U3 ZM5A9V4Y3J10文档编码:CP4D8O6T10G1 HR5C5K3D10U3 ZM5A9V4Y3J10文档编码:CP4D8O6T10G1 HR5C5K3D10U3 ZM5A9V4Y3J10文档编码:CP4D8O6T10G1 HR5C5K3D10U3 ZM5A9V4Y3J10文档编码:CP4D8O6T10G1 HR5C5K3D10U3 ZM5A9V4Y3J10文档编码:CP4D8O6T10G1 HR5C5K3D10U3 ZM5A9V4Y3J10文档编码:CP4D8O6T10G1 HR5C5K3D10U3 ZM5A9V4Y3J10文档编码:CP4D8O6T10G1 HR
48、5C5K3D10U3 ZM5A9V4Y3J10名师精编优秀资料 DJNZ R0,DL1 END 2.修改以下程序实现下表功能下面是某同学的实验报告中的程序,实验要求实现下表功能。请对程序进行分析并加以更正(10分)。源 程 序 ORG 0000H LJMP START ORG 0100H START:MOV P1,0FFH LP:MOV A,P1 MOV DPTR,#4200 ANL A,#00000011B MOVX A,A+DPTR MOV P1,A LJMP LP ORG 4220H DB:0FBH,0F6H,0EDH,DFH END 3、如图所示为单片机双机通信电路,下面是双机通信程序
49、,试指出程序中的错误(12分)。程序:ORG 0000H LJMP MAIN ORG 0023H LJMP INS ORG 0030H MAIN:MOV SCON,#50H MOV PCON,#00H MOV TMOD,#20H MOV TL1,#0E6H MOV TH1,#0E6H SETB EA 输入输出P1.0 P1.1 P1.2 P1.3 P1.4 P1.5 0 0 0 1 1 1 0 1 1 0 1 1 1 0 1 1 0 1 1 1 1 1 1 0 文档编码:CP4D8O6T10G1 HR5C5K3D10U3 ZM5A9V4Y3J10文档编码:CP4D8O6T10G1 HR5C5K
50、3D10U3 ZM5A9V4Y3J10文档编码:CP4D8O6T10G1 HR5C5K3D10U3 ZM5A9V4Y3J10文档编码:CP4D8O6T10G1 HR5C5K3D10U3 ZM5A9V4Y3J10文档编码:CP4D8O6T10G1 HR5C5K3D10U3 ZM5A9V4Y3J10文档编码:CP4D8O6T10G1 HR5C5K3D10U3 ZM5A9V4Y3J10文档编码:CP4D8O6T10G1 HR5C5K3D10U3 ZM5A9V4Y3J10文档编码:CP4D8O6T10G1 HR5C5K3D10U3 ZM5A9V4Y3J10文档编码:CP4D8O6T10G1 HR5C5