mcq 队列_MCQ | 8086微处理器中的寻址模式
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
查找給定指令的有效地址位置。
35254 H
35254高
13364 H
13364高
46694 H
46694高
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= 35254HQuestion 2:
問題2:
Which segment register is being used in the given instruction?
MOV CX , SS: [BX]
給定指令中使用哪個段寄存器?
MOV CX,SS:[BX]
Extra Segment Register (ES)
額外段寄存器(ES)
Code Segment Register (CS)
代碼段寄存器(CS)
Stack Segment Register (SS)
堆棧段寄存器(SS)
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
查找給定指令的有效地址位置。
35254 H
35254高
A234F H
A234F高
34B03 H
34B03高
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= 34B03HQuestion 4:
問題4:
Which segment register is being used in the given instruction?
MOV CX , [IP]
給定指令中使用哪個段寄存器?
MOV CX,[IP]
Extra Segment Register (ES)
額外段寄存器(ES)
Code Segment Register (CS)
代碼段寄存器(CS)
Stack Segment Register (SS)
堆棧段寄存器(SS)
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]
Base Addressing Mode
基本尋址模式
Immediate Addressing Mode
立即尋址模式
Register Addressing Mode
寄存器尋址模式
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微处理器中的寻址模式的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: c#equals方法源码_C#中的Int
- 下一篇: 在CSS中使用not:first-chi