单片机汇编指令系统练习.pdf
《单片机汇编指令系统练习.pdf》由会员分享,可在线阅读,更多相关《单片机汇编指令系统练习.pdf(8页珍藏版)》请在淘文阁 - 分享文档赚钱的网站上搜索。
1、第三章 MCS-51 指令系统一、单选题1.在相对寻址方式中,寻址的结果体现在()PC中()累加器中()DPTR 中()某个存储单元中.在相对寻址方式中,“相对”两字是指相对于()地址偏移量rel()当前指令的首地址()当前指令的末地址()DPTR 值.在寄存器间接寻址方式中,指定寄存器中存放的是()操作数()操作数地址()转移地址()地址偏移量.对程序存储器的读操作,只能使用()指令()指令()指令()指令.必须进行十进制调整的十进制运算()有加法和减法()有乘法和除法()只有加法()只有减法.执行返回指令时,返回的断点是()调用指令的首地址()调用指令的末地址()调用指令下一条指令的首地址
2、()返回指令的末地址.下列指令中与进位标志位 CY 无关的指令有(A)移位指令(B)位操作指令(C)十进制调整指令(D)条件转移指令.可以为访问程序存储器提供或构成地址的有(A)只有程序计数器 PC(B)只有 PC 和累加器 A (C)只有 PC,A 和数据指针 DPTR (D)PC,A,DPTR 和堆栈指针 SP .以下各项中不能用来对内部数据存储器进行访问的是(A)数据指针 DPTR (B)按存储单元地址或名称(C)堆栈指针 SP (D)由 R0 或 R1 作间址寄存器10.若原来工作寄存器组为当前寄存器组,现要改组为当前寄存器组,不能使用指令(A)SETB PSW。3 (B)SETB D
3、OH。3 (C)MOV PSW。3,1 (D)CPL PSW。3 11.不能为程序存储器提供或构成地址的有(A)PC(B)A (C)DPTR(D)PSW 12.执行以下程序段MOV SP,#3AH MOV A,#20H MOV B,#30H PUSH ACC PUSH B POP ACC POP B 后,A 和 B 的内容为(A)20H,30H (B)30H,20H (C)3AH,30H (D)3AH,3AH 13.假定(A)=83H,(R0)=17H,(17H)=34H,执行以下程序段ANL A,#17H ORL 17H,A XRL A,R0 CPL A 后,A 的内容为(A)CBH(B)0
4、3H(C)EBH(D)C8H 14.执行以下程序段MOV R0,#data MOV A,R0 RL A 文档编码:CE5K10T1X3R8 HE8L3F3B4F8 ZX10G8H9F9H7文档编码:CE5K10T1X3R8 HE8L3F3B4F8 ZX10G8H9F9H7文档编码:CE5K10T1X3R8 HE8L3F3B4F8 ZX10G8H9F9H7文档编码:CE5K10T1X3R8 HE8L3F3B4F8 ZX10G8H9F9H7文档编码:CE5K10T1X3R8 HE8L3F3B4F8 ZX10G8H9F9H7文档编码:CE5K10T1X3R8 HE8L3F3B4F8 ZX10G8H9
5、F9H7文档编码:CE5K10T1X3R8 HE8L3F3B4F8 ZX10G8H9F9H7文档编码:CE5K10T1X3R8 HE8L3F3B4F8 ZX10G8H9F9H7文档编码:CE5K10T1X3R8 HE8L3F3B4F8 ZX10G8H9F9H7文档编码:CE5K10T1X3R8 HE8L3F3B4F8 ZX10G8H9F9H7文档编码:CE5K10T1X3R8 HE8L3F3B4F8 ZX10G8H9F9H7文档编码:CE5K10T1X3R8 HE8L3F3B4F8 ZX10G8H9F9H7文档编码:CE5K10T1X3R8 HE8L3F3B4F8 ZX10G8H9F9H7文档
6、编码:CE5K10T1X3R8 HE8L3F3B4F8 ZX10G8H9F9H7文档编码:CE5K10T1X3R8 HE8L3F3B4F8 ZX10G8H9F9H7文档编码:CE5K10T1X3R8 HE8L3F3B4F8 ZX10G8H9F9H7文档编码:CE5K10T1X3R8 HE8L3F3B4F8 ZX10G8H9F9H7文档编码:CE5K10T1X3R8 HE8L3F3B4F8 ZX10G8H9F9H7文档编码:CE5K10T1X3R8 HE8L3F3B4F8 ZX10G8H9F9H7文档编码:CE5K10T1X3R8 HE8L3F3B4F8 ZX10G8H9F9H7文档编码:CE5
7、K10T1X3R8 HE8L3F3B4F8 ZX10G8H9F9H7文档编码:CE5K10T1X3R8 HE8L3F3B4F8 ZX10G8H9F9H7文档编码:CE5K10T1X3R8 HE8L3F3B4F8 ZX10G8H9F9H7文档编码:CE5K10T1X3R8 HE8L3F3B4F8 ZX10G8H9F9H7文档编码:CE5K10T1X3R8 HE8L3F3B4F8 ZX10G8H9F9H7文档编码:CE5K10T1X3R8 HE8L3F3B4F8 ZX10G8H9F9H7文档编码:CE5K10T1X3R8 HE8L3F3B4F8 ZX10G8H9F9H7文档编码:CE5K10T1X
8、3R8 HE8L3F3B4F8 ZX10G8H9F9H7文档编码:CE5K10T1X3R8 HE8L3F3B4F8 ZX10G8H9F9H7文档编码:CE5K10T1X3R8 HE8L3F3B4F8 ZX10G8H9F9H7文档编码:CE5K10T1X3R8 HE8L3F3B4F8 ZX10G8H9F9H7文档编码:CE5K10T1X3R8 HE8L3F3B4F8 ZX10G8H9F9H7文档编码:CE5K10T1X3R8 HE8L3F3B4F8 ZX10G8H9F9H7文档编码:CE5K10T1X3R8 HE8L3F3B4F8 ZX10G8H9F9H7文档编码:CE5K10T1X3R8 HE
9、8L3F3B4F8 ZX10G8H9F9H7文档编码:CE5K10T1X3R8 HE8L3F3B4F8 ZX10G8H9F9H7文档编码:CE5K10T1X3R8 HE8L3F3B4F8 ZX10G8H9F9H7文档编码:CE5K10T1X3R8 HE8L3F3B4F8 ZX10G8H9F9H7文档编码:CE5K10T1X3R8 HE8L3F3B4F8 ZX10G8H9F9H7文档编码:CE5K10T1X3R8 HE8L3F3B4F8 ZX10G8H9F9H7文档编码:CE5K10T1X3R8 HE8L3F3B4F8 ZX10G8H9F9H7文档编码:CE5K10T1X3R8 HE8L3F3B
10、4F8 ZX10G8H9F9H7文档编码:CE5K10T1X3R8 HE8L3F3B4F8 ZX10G8H9F9H7文档编码:CE5K10T1X3R8 HE8L3F3B4F8 ZX10G8H9F9H7文档编码:CE5K10T1X3R8 HE8L3F3B4F8 ZX10G8H9F9H7文档编码:CE5K10T1X3R8 HE8L3F3B4F8 ZX10G8H9F9H7文档编码:CE5K10T1X3R8 HE8L3F3B4F8 ZX10G8H9F9H7文档编码:CE5K10T1X3R8 HE8L3F3B4F8 ZX10G8H9F9H7MOV R1,A RL A RL A ADD A,R1 MOV
11、R0,A 后,实现的功能是(A)把立即数 data 循环左移 3 次(B)把立即数 data 乘以 10 (C)把 data 单元的内容循环左移 3 次(D)把 data 单元的内容乘以 10 15.以下的 4 条指令中,错误的指令是(A)INC A (B)DEC A (C)INC DPTR (D)DEC DPTR 16.指令 MOV 30H,C 的寻址方式是(A)寄存器寻址(B)位寻址(C)直接寻址(D)间接寻址17.指令 MOV A,A+DPTR的寻址方式是(A)寄存器寻址(B)立即寻址(C)直接寻址(D)变址寻址18.指令 JC 80H 的寻址方式是(A)相对寻址(B)立即寻址(C)直接
12、寻址(D)变址寻址19.指令 MOV A,#50H 的寻址方式是(A)寄存器寻址(B)立即寻址(C)直接寻址(D)变址寻址20.指令 MOV A,R0 的寻址方式是(A)寄存器寻址(B)立即寻址(C)直接寻址(D)变址寻址21.指令 MOV A,R0 的寻址方式是(A)寄存器寻址(B)立即寻址文档编码:CE5K10T1X3R8 HE8L3F3B4F8 ZX10G8H9F9H7文档编码:CE5K10T1X3R8 HE8L3F3B4F8 ZX10G8H9F9H7文档编码:CE5K10T1X3R8 HE8L3F3B4F8 ZX10G8H9F9H7文档编码:CE5K10T1X3R8 HE8L3F3B4
13、F8 ZX10G8H9F9H7文档编码:CE5K10T1X3R8 HE8L3F3B4F8 ZX10G8H9F9H7文档编码:CE5K10T1X3R8 HE8L3F3B4F8 ZX10G8H9F9H7文档编码:CE5K10T1X3R8 HE8L3F3B4F8 ZX10G8H9F9H7文档编码:CE5K10T1X3R8 HE8L3F3B4F8 ZX10G8H9F9H7文档编码:CE5K10T1X3R8 HE8L3F3B4F8 ZX10G8H9F9H7文档编码:CE5K10T1X3R8 HE8L3F3B4F8 ZX10G8H9F9H7文档编码:CE5K10T1X3R8 HE8L3F3B4F8 ZX1
14、0G8H9F9H7文档编码:CE5K10T1X3R8 HE8L3F3B4F8 ZX10G8H9F9H7文档编码:CE5K10T1X3R8 HE8L3F3B4F8 ZX10G8H9F9H7文档编码:CE5K10T1X3R8 HE8L3F3B4F8 ZX10G8H9F9H7文档编码:CE5K10T1X3R8 HE8L3F3B4F8 ZX10G8H9F9H7文档编码:CE5K10T1X3R8 HE8L3F3B4F8 ZX10G8H9F9H7文档编码:CE5K10T1X3R8 HE8L3F3B4F8 ZX10G8H9F9H7文档编码:CE5K10T1X3R8 HE8L3F3B4F8 ZX10G8H9F
15、9H7文档编码:CE5K10T1X3R8 HE8L3F3B4F8 ZX10G8H9F9H7文档编码:CE5K10T1X3R8 HE8L3F3B4F8 ZX10G8H9F9H7文档编码:CE5K10T1X3R8 HE8L3F3B4F8 ZX10G8H9F9H7文档编码:CE5K10T1X3R8 HE8L3F3B4F8 ZX10G8H9F9H7文档编码:CE5K10T1X3R8 HE8L3F3B4F8 ZX10G8H9F9H7文档编码:CE5K10T1X3R8 HE8L3F3B4F8 ZX10G8H9F9H7文档编码:CE5K10T1X3R8 HE8L3F3B4F8 ZX10G8H9F9H7文档编
16、码:CE5K10T1X3R8 HE8L3F3B4F8 ZX10G8H9F9H7文档编码:CE5K10T1X3R8 HE8L3F3B4F8 ZX10G8H9F9H7文档编码:CE5K10T1X3R8 HE8L3F3B4F8 ZX10G8H9F9H7文档编码:CE5K10T1X3R8 HE8L3F3B4F8 ZX10G8H9F9H7文档编码:CE5K10T1X3R8 HE8L3F3B4F8 ZX10G8H9F9H7文档编码:CE5K10T1X3R8 HE8L3F3B4F8 ZX10G8H9F9H7文档编码:CE5K10T1X3R8 HE8L3F3B4F8 ZX10G8H9F9H7文档编码:CE5K
17、10T1X3R8 HE8L3F3B4F8 ZX10G8H9F9H7文档编码:CE5K10T1X3R8 HE8L3F3B4F8 ZX10G8H9F9H7文档编码:CE5K10T1X3R8 HE8L3F3B4F8 ZX10G8H9F9H7文档编码:CE5K10T1X3R8 HE8L3F3B4F8 ZX10G8H9F9H7文档编码:CE5K10T1X3R8 HE8L3F3B4F8 ZX10G8H9F9H7文档编码:CE5K10T1X3R8 HE8L3F3B4F8 ZX10G8H9F9H7文档编码:CE5K10T1X3R8 HE8L3F3B4F8 ZX10G8H9F9H7文档编码:CE5K10T1X3
18、R8 HE8L3F3B4F8 ZX10G8H9F9H7文档编码:CE5K10T1X3R8 HE8L3F3B4F8 ZX10G8H9F9H7文档编码:CE5K10T1X3R8 HE8L3F3B4F8 ZX10G8H9F9H7文档编码:CE5K10T1X3R8 HE8L3F3B4F8 ZX10G8H9F9H7文档编码:CE5K10T1X3R8 HE8L3F3B4F8 ZX10G8H9F9H7文档编码:CE5K10T1X3R8 HE8L3F3B4F8 ZX10G8H9F9H7文档编码:CE5K10T1X3R8 HE8L3F3B4F8 ZX10G8H9F9H7文档编码:CE5K10T1X3R8 HE8
19、L3F3B4F8 ZX10G8H9F9H7文档编码:CE5K10T1X3R8 HE8L3F3B4F8 ZX10G8H9F9H7(C)直接寻址(D)寄存器间接寻址22.指令 MOVX A,DPTR 产生的信号是(A)ALE (B)RD(C)WR(D)PSEN23.指令 MOV A,P1的寻址方式是(A)寄存器寻址(B)立即寻址(C)直接寻址(D)间接寻址24.指令 MOVX DPTR,A 产生的信号是(A)ALE (B)RD(C)WR(D)PSEN25.以下的 4 条指令中,既完成判位转移又完成清位的指令是(A)JNC rel (B)JB bit,rel(C)JBC bit,rel (D)JNB
20、 bit,rel 26.以下的 4 条指令中,错误的指令是(A)ADD A,R0 (B)ADDC A,R0 (C)SUB A,R0 (D)SUBB A,R0 27.以下的 4 条指令中,错误的指令是。(A)MUL A,B (B)MUL AB(C)ADD A,B (D)SUBB A,B 28.若(A)=C3H,(R0)=AAH,指令 XRL A,R0执行后,A的内容是。(A)52H (B)69H (C)EBH (D)6CH 29.以下的 4 条指令中,“不带进位循环左移”指的是。(A)RL A (B)RLC A(C)RR A(D)RRC A 30.指令 DJNZ Rn,rel 指的是。(A)比较
21、不等转移(B)减 1 不为 0 转移(C)散转移(D)长跳转31.以下的 4 条指令中,错误的指令是。(A)XCH A,R0 (B)XCH A,R0 (C)XCHD A,R0 (D)XCHD A,R0 32.若(CY)=1,P1.0 为 0,执行指令 ANL C,P1.0 后。(A)P1.0 为 1 (B)(CY)不变文档编码:CE5K10T1X3R8 HE8L3F3B4F8 ZX10G8H9F9H7文档编码:CE5K10T1X3R8 HE8L3F3B4F8 ZX10G8H9F9H7文档编码:CE5K10T1X3R8 HE8L3F3B4F8 ZX10G8H9F9H7文档编码:CE5K10T1X
22、3R8 HE8L3F3B4F8 ZX10G8H9F9H7文档编码:CE5K10T1X3R8 HE8L3F3B4F8 ZX10G8H9F9H7文档编码:CE5K10T1X3R8 HE8L3F3B4F8 ZX10G8H9F9H7文档编码:CE5K10T1X3R8 HE8L3F3B4F8 ZX10G8H9F9H7文档编码:CE5K10T1X3R8 HE8L3F3B4F8 ZX10G8H9F9H7文档编码:CE5K10T1X3R8 HE8L3F3B4F8 ZX10G8H9F9H7文档编码:CE5K10T1X3R8 HE8L3F3B4F8 ZX10G8H9F9H7文档编码:CE5K10T1X3R8 HE
23、8L3F3B4F8 ZX10G8H9F9H7文档编码:CE5K10T1X3R8 HE8L3F3B4F8 ZX10G8H9F9H7文档编码:CE5K10T1X3R8 HE8L3F3B4F8 ZX10G8H9F9H7文档编码:CE5K10T1X3R8 HE8L3F3B4F8 ZX10G8H9F9H7文档编码:CE5K10T1X3R8 HE8L3F3B4F8 ZX10G8H9F9H7文档编码:CE5K10T1X3R8 HE8L3F3B4F8 ZX10G8H9F9H7文档编码:CE5K10T1X3R8 HE8L3F3B4F8 ZX10G8H9F9H7文档编码:CE5K10T1X3R8 HE8L3F3B
24、4F8 ZX10G8H9F9H7文档编码:CE5K10T1X3R8 HE8L3F3B4F8 ZX10G8H9F9H7文档编码:CE5K10T1X3R8 HE8L3F3B4F8 ZX10G8H9F9H7文档编码:CE5K10T1X3R8 HE8L3F3B4F8 ZX10G8H9F9H7文档编码:CE5K10T1X3R8 HE8L3F3B4F8 ZX10G8H9F9H7文档编码:CE5K10T1X3R8 HE8L3F3B4F8 ZX10G8H9F9H7文档编码:CE5K10T1X3R8 HE8L3F3B4F8 ZX10G8H9F9H7文档编码:CE5K10T1X3R8 HE8L3F3B4F8 ZX
25、10G8H9F9H7文档编码:CE5K10T1X3R8 HE8L3F3B4F8 ZX10G8H9F9H7文档编码:CE5K10T1X3R8 HE8L3F3B4F8 ZX10G8H9F9H7文档编码:CE5K10T1X3R8 HE8L3F3B4F8 ZX10G8H9F9H7文档编码:CE5K10T1X3R8 HE8L3F3B4F8 ZX10G8H9F9H7文档编码:CE5K10T1X3R8 HE8L3F3B4F8 ZX10G8H9F9H7文档编码:CE5K10T1X3R8 HE8L3F3B4F8 ZX10G8H9F9H7文档编码:CE5K10T1X3R8 HE8L3F3B4F8 ZX10G8H9
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- 单片机 汇编 指令系统 练习
限制150内