700字范文,内容丰富有趣,生活中的好帮手!
700字范文 > mcq 队列_MCQ | 8086微处理器中的寻址模式

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

时间:2021-10-27 15:14:11

相关推荐

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= 35254H

Question 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= 34B03H

Question 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.

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

翻译自: /embedded-system/mcq-addressing-modes-in-8086.aspx

mcq 队列

本内容不代表本网观点和政治立场,如有侵犯你的权益请联系我们处理。
网友评论
网友评论仅供其表达个人看法,并不表明网站立场。