mcq 队列

Question 1:

问题1:

You are given the following instruction:
ADD AX , [1024]
You are provided the following data:
DS = 3423H ; SS = 1234H ; CS= 4567H
Find the effective address location for the given instruction.

您得到以下指示:
添加AX,[1024]
提供以下数据:
DS = 3423H; SS = 1234H; CS = 4567H
查找给定指令的有效地址位置。

  1. 35254 H

    35254高

  2. 13364 H

    13364高

  3. 46694 H

    46694高

  4. 4447 H

    4447高

Answer: a. 35254 H

答: 35254高

Explanation:

说明:

The address is directly mentioned in the instruction. So, The Data Segment Register will be used as the segment for the given offset address value. Hence the effective address is:

该地址在指令中直接提及。 因此,数据段寄存器将用作给定偏移地址值的段。 因此,有效地址为:

    =   3423H X 10H + 1024H
=   34230H + 1024H
=   35254H



Question 2:

问题2:

Which segment register is being used in the given instruction?
MOV CX , SS: [BX]

给定指令中使用哪个段寄存器?
MOV CX,SS:[BX]

  1. Extra Segment Register (ES)

    额外段寄存器(ES)

  2. Code Segment Register (CS)

    代码段寄存器(CS)

  3. Stack Segment Register (SS)

    堆栈段寄存器(SS)

  4. None of the Above

    以上都不是

Answer: c. Stack Segment Register (SS)

答:c。 堆栈段寄存器(SS)

Explanation:

说明:

Here, the concept of Segment Override Prefix is being used. Although the default segment for the offset BX is DS, as the SS is mentioned in the instruction, it is overriding the default segment. Hence, the Stack Segment (SS) register is being used here.

在此,使用段覆盖前缀的概念。 尽管偏移量BX的默认段是DS,但正如指令中提到的SS一样,它覆盖了默认段。 因此,此处使用了堆栈段(SS)寄存器。



Question 3:

问题3:

You are given the following instruction:
MOV AX , 02H [BX] [SI]
and are provided the following data:
DS = 3290H ; SS = 1004H ; ES= 4237H ; BX= 1100H ; SI= 1101H
Find the effective address location for the given instruction.

您得到以下指示:
MOV AX,02H [BX] [SI]
并提供以下数据:
DS = 3290H; SS = 1004H; ES = 4237H; BX = 1100H; SI = 1101H
查找给定指令的有效地址位置。

  1. 35254 H

    35254高

  2. A234F H

    A234F高

  3. 34B03 H

    34B03高

  4. 4447E H

    4447E高

Answer: c. 34B03 H

答:c。 34B03高

Explanation:

说明:

The address is mentioned in the instruction contains register BX and SI with 8-bit displacement. So, The Data Segment Register (DS) will be used as the segment for the given offset address value. Hence the effective address is:

指令中提到的地址包含具有8位位移的寄存器BX和SI。 因此,数据段寄存器(DS)将用作给定偏移地址值的段。 因此,有效地址为:

    Effective Address   =   3290H X 10H + ( 02H + 1100H + 1101H )
=   329000H + 2203H
=   34B03H



Question 4:

问题4:

Which segment register is being used in the given instruction?
MOV CX , [IP]

给定指令中使用哪个段寄存器?
MOV CX,[IP]

  1. Extra Segment Register (ES)

    额外段寄存器(ES)

  2. Code Segment Register (CS)

    代码段寄存器(CS)

  3. Stack Segment Register (SS)

    堆栈段寄存器(SS)

  4. None of the Above

    以上都不是

Answer: c. Stack Segment Register (SS)

答:c。 堆栈段寄存器(SS)

Explanation:

说明:

Here, the default segment for the offset IP is SS. Hence, the Stack Segment (SS) register is being used here.

此处,偏移IP的默认段为SS。 因此,此处使用了堆栈段(SS)寄存器。



Question 5:

问题5:

Which addressing mode is being used in the given instruction?
MOV AX, [1234H]

给定指令中使用哪种寻址模式?
MOV AX,[1234H]

  1. Base Addressing Mode

    基本寻址模式

  2. Immediate Addressing Mode

    立即寻址模式

  3. Register Addressing Mode

    寄存器寻址模式

  4. Direct Addressing Mode

    直接寻址模式

Answer: d. Direct Addressing Mode

答案:d。 直接寻址模式

Explanation:

说明:

The given instruction is using the direct addressing mode as the address is directly mentioned in the instruction rather than being stored in any register.

给定指令使用直接寻址模式,因为该地址在指令中直接提及,而不是存储在任何寄存器中。

翻译自: https://www.includehelp.com/embedded-system/mcq-addressing-modes-in-8086.aspx

mcq 队列

mcq 队列_MCQ | 8086微处理器中的寻址模式相关推荐

  1. mcq 队列_MCQ | 8086微处理器中的字符串操作指令

    mcq 队列 Question 1: 问题1: A string is a collection of characters. Each Character is an of byte length ...

  2. 8086简单的指令流水线_在8086微处理器中执行流水线的指令和概念的步骤

    8086简单的指令流水线 Any computer or machine works according to some instructions. These instructions are re ...

  3. mcq 队列_MCQ | 密码学中作为IDEA,DES,AES,RSA的块密码

    mcq 队列 1) In the AES-128 algorithm there are mainly __________ similar rounds and _________ round is ...

  4. 8086 寻址方式_8086微处理器的不同寻址模式

    8086 寻址方式 Introduction: 介绍: Addressing mode tells us what is the type of the operand and the way the ...

  5. mcq 队列_MCQ | 量子密码学

    mcq 队列 1) Which possible Attacks in Quantum Cryptography can take place? 1)量子密码术中可能发生哪些攻击? Possible ...

  6. mcq 队列_MCQ | 软件生命周期模型

    mcq 队列 Q1. Which of the following models is best suited when the requirements of the software are no ...

  7. mcq 队列_MCQ | 基础知识 免费和开源软件| 套装4

    mcq 队列 Q1. What do you call the technique of storing encrypted user passwords in Linux? Q1. 您如何称呼在Li ...

  8. mcq 队列_MCQ | 软件程序分析工具和组件分类| 免费和开源软件

    mcq 队列 Q1. Which of the following analysis methods come under Static Analysis Tools? Q1. 静态分析工具包含以下哪 ...

  9. mcq 队列_MCQ | 基础知识 免费和开源软件| 套装3

    mcq 队列 Q1. What do you understand from GNOME and KDE? Q1. 您从GNOME和KDE了解到什么? Linux Distribution Linux ...

最新文章

  1. 报名 | DeeCamp2019:实战AI 铸造定雨神针
  2. fiddler如何向服务器发送信息,fiddler 保存请求数据并发送到自己的服务器接口 抓包...
  3. 成为一名优秀的程序员基本要素
  4. D3Vueecharts个人乱记
  5. 计算机网络应用云计算,计算机网络云计算的类型
  6. BAJT 中高级 Java 面试题答案
  7. 怎么配置宝塔linux环境,宝塔面板linux怎么安装
  8. P3200 [HNOI2009]有趣的数列
  9. U盘启动盘制作工具哪个好用_U盘PE系统哪个纯净干净无捆绑?
  10. 兜兜转转。最终还是选择了它——C语言学习历程
  11. 已知某网络有一个地址是167.199.170.82/27,问这个网络的网络掩码。
  12. XML 格式化转字符串
  13. springboot实现oos上传下载
  14. 7-5 打印选课学生名单(c++)
  15. 【教程】Github快速学习
  16. 又发福利!日历小程序源码
  17. C++获取CPU使用率
  18. Java基础篇(集合)
  19. 【Java】一次简单实验经历——社交网络图的简化实现
  20. c语言feek函数读取中文出现乱码

热门文章

  1. 关于Istio 1.1,你所不知道的细节
  2. 【数据结构和算法05】 红-黑树(转发)
  3. MySQL初识-架构-安装-初始化-连接-管理工具-数据文件
  4. 马哥linux第六周作业
  5. 服务器搭建-Linux基础知识
  6. 最近的日子,很惬意!
  7. [LeetCode] Longest Consecutive Sequence 求解
  8. 随机过程及其在金融领域中的应用 第三章 习题 及 答案
  9. java中关于length的真确理解~~~~有补充的请跟帖~~~
  10. kindeditor图片批量上传失败问题