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

8086 寻址方式

Introduction:

介绍:

Addressing mode tells us what is the type of the operand and the way they are accessed from the memory for execution of an instruction and how to fetch particular instruction from the memory. There are mainly 8 addressing modes of an 8086 microprocessor. Let’s discuss them in brief:

寻址模式告诉我们什么类型的操作数,以及如何从内存中访问操作数以执行指令,以及如何从内存中提取特定的指令。 8086微处理器主要有8种寻址模式。 让我们简单地讨论一下:

1) Immediate Addressing Mode

1)立即寻址模式

In this immediate data is the part of the instruction itself.

在该立即数中,数据是指令本身的一部分。

Example: Mov Ax, 0005H

例如: Mov Ax,0005H

2) Absolute/ Direct Addressing Mode

2)绝对/直接寻址模式

In it, a 16-bit memory address (offset) or an input/ output address is directly specified in the instruction as a part of it.

其中,在指令中直接指定16位存储器地址(偏移量)或输入/输出地址作为其一部分。

Different Addressing Modes of 8086 Microprocessor 1

3) Register Addressing Mode

3)寄存器寻址模式

Here data is stored in a registered and referred using the particular register.

此处,数据存储在一个寄存器中,并使用特定的寄存器进行引用。

Different Addressing Modes of 8086 Microprocessor 2

4) Register Indirect Addressing Mode

4)寄存器间接寻址模式

In this offset address of data is in either Bx, SI, DI, (Base register, source index or Destination index) default segment is either DS or ES.

在此偏移地址中,数据的地址位于Bx,SI,DI(基址寄存器,源索引或目标索引)中,默认段为DS或ES。

Data is supposed to be available at the address pointed to by the content of any of the above registers in the default data segment.

假定数据在默认数据段中上述任何寄存器的内容所指向的地址处可用。

Different Addressing Modes of 8086 Microprocessor 3

5) Indexed Addressing Mode

5)索引寻址模式

Here offset of the operand is stored in one of the index registers. DS is the default segment for SI and DI in string instruction DS and ES default segment for register SI and DI.

这里操作数的偏移量存储在索引寄存器之一中。 DS是字符串指令DS中SI和DI的默认段,而ES是寄存器SI和DI中的默认段。

Different Addressing Modes of 8086 Microprocessor 4

6) Register Relative Addressing Mode

6)寄存器相对寻址模式

In it, data is available at an effective address formed by adding an 8 bit or 16-bit displacement with content, any one of the registers Bx, Bp, SI, DI in the default (DS or ES) segment.

在其中,通过在内容(默认(DS或ES)段中的寄存器Bx,Bp,SI,DI中的任何一个)中添加内容的8位或16位位移形成的有效地址处的数据可用。

Different Addressing Modes of 8086 Microprocessor 5

7) Based Indexed Addressing Mode

7)基于索引的寻址模式

The effective address of data is formed by adding content of base register Bx or Bp to the content of index register.

数据的有效地址是通过将基址寄存器Bx或Bp的内容添加到索引寄存器的内容而形成的。

Different Addressing Modes of 8086 Microprocessor 6

8) Relative Based Indexed Addressing Mode

8)基于相对索引的寻址方式

Here the effective address is formed by adding an 8 bit or 16-bit displacement with the sum of the content of any one of the index registers in the default segment.

此处,有效地址是通过将8位或16位位移与默认段中任何索引寄存器的内容之和相加而形成的。

Different Addressing Modes of 8086 Microprocessor 7

Conclusion:

结论:

In this article, we have discussed the different addressing modes, in brief, will discuss more microprocessors and computer architecture in my upcoming articles. Will see you in my next article till then stay healthy and keep learning!

在本文中,我们讨论了不同的寻址模式 ,简而言之,在我的后续文章中将讨论更多的微处理器和计算机体系结构。 在我的下一篇文章中将看到您,直到您保持健康并继续学习为止!

翻译自: https://www.includehelp.com/embedded-system/different-addressing-modes-of-8086-microprocessor.aspx

8086 寻址方式

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处:http://www.mzph.cn/news/542509.shtml

如若内容造成侵权/违法违规/事实不符,请联系多彩编程网进行投诉反馈email:809451989@qq.com,一经查实,立即删除!

相关文章

决策树的value是什么意思_从零开始的机器学习实用指南(六):决策树

类似SVM,决策树也是非常多功能的机器学习算法,可以分类,回归,甚至可以完成多输出的任务,能够拟合复杂的数据集(比如第二章的房价预测例子,虽然是过拟合了。)决策树也是很多集成学习的…

Hive中生成随机唯一标识ID的方法

2019独角兽企业重金招聘Python工程师标准>>> HIVE中处理的数据往往比较多,在处理数据的时候希望给处理得到的数据一个ID标识,这时候可以用到UUID。 UUID的算法的核心思想是结合机器的网卡、当地时间、一个随即数来生成UUID。从理论上讲&#…

php从网页获得数据,php根据URL获得网页内容

php 中根据url来获得网页内容非常的方便,可以通过系统内置函数file_get_contents(),传入url,即可返回网页的内容,比如获得百度首页的内容代码为:$html file_get_contents(http://www.baidu.com/);echo $html;就可以显示出百度首页的内容&…

2020知道python语言应用答案_2020知到Python语言应用答案章节期末答案

组合管理理论最早由哈维马科维兹于1962年系统的提出,他开创了对投资进行整体管理的先 公司型基金和契约型基金的区别,下列不包括()。 A.资金的性质B.基金的营运依据C.基 我国(&#…

如何在Bootstrap中使用Jumbotron和页面标头类?

Introduction 介绍 In the previous article, we have learned how Responsive column, Nesting Columns and offset Columns work and how to use them? I hope now, you all are comfortable with the grid system; what is it, how to use it and how we can use it for c…

python中的数字类型格式与运算,python数字数据类型

python数字数据类型1. 数字在我们很小的时候,父母便开始教我们数数,从1数到10,聪明的孩子可以数的更多。python支持3中数值类型整型(int),通常称之为整型或整数,这个概念与我们小学时学过的整数是相同的,py…

getprocaddress得到为0_基于ZU+系列MPSoC芯片的USB3.0/2.0接口硬件设计

本文主要介绍Zynq UltraScale MPSoC系列芯片的USB3.0/2.0接口硬件设计。ZU系列MPSoC要实现USB3.0/2.0的全部功能,需要同时使用MIO和GTR。因为GTR接口中的USB接口只支持USB3.0,对USB2.0的支持需要通过MIO接口外接USB PHY实现。ZU系列MPSoC包括两个USB接口…

如何设置单词第一个字母大写_大写一行中每个单词的第一个和最后一个字母

如何设置单词第一个字母大写Problem statement: 问题陈述: Given an input line, capitalize first and last letter of each word in the given line. Its provided that the input line is in lowercase. 给定输入行, 将给定行中每个单词的第一个和最…

php如何编造简历,在简历里编造内容需要注意哪些问题?

在个人简历里编造内容可得有一定依据才行,总得为自己后期做个准备工作是不是?你编造的东西不只是给企业看一看而已,企业还会对这些内容作出进一步的判断,并且可能就其对你进行提问,如果你答不出来而曝光自己是在欺骗企…

Java LinkedList公共对象pollLast()方法(带示例)

LinkedList公共对象pollLast()方法 (LinkedList public Object pollLast() method) This method is available in package java.util.LinkedList.pollLast(). 软件包java.util.LinkedList.pollLast()中提供了此方法。 This method is used to retrieves the last or ending ele…

python编写学生成绩排序_Python实现按学生年龄排序的实际问题详解

前言 本文主要给大家了关于利用Python按学生年龄排序的相关内容,分享出来供大家参考学习,下面话不多说了,来一起看看详细的介绍: 问题:定义一个Class:包含姓名name、性别gender、年龄age,需要按…

前方危险-让很多“高逼格”高管深刻反思的文章

在很多的时候,现实会让我们每个人迷惑,周边的人和事可以让人极度的膨胀,你可以想吃了迷药一样,分不清是现实还是虚幻。很久以前,在公司的一次会议上,某主管告诉我们说,“他一个同事,…

oracle实例的概念组成,oracle体系结构的两个基本概念:数据库和实例

您可能感兴趣的话题:oracle核心提示:要了解oracle体系结构必须先了解两个基本的概念: 数据库和实例.要了解oracle体系结构必须先了解两个基本的概念: 数据库和实例.一: 数据库数据库(database)是一个数据集合.无论数据库是采用关系结构还是面向对象结构,…

c#二维数据最大最小值_C#| 打印类型,各种数据类型的最大值和最小值

c#二维数据最大最小值In the below example – we are printing types, min value, max value of various data types in C#, like integer data types, floating point data types, Boolean data type, Reference types, Nullable types. 在下面的示例中-我们正在打印C&#x…

自定义taglib引入失败_小程序拼团总失败?看看微信官方和开发者们怎么说

阅读时间:6m最懂小程序生态商业的自媒体可怕... 刚过国庆,南方还在短袖短裙,北方竟然都下雪了!什么叫一天之内感受四季?晓程序观察(yinghoo-tech)的小伙伴们算是深刻体验了,穿着短袖上飞机,抵达…

微信公众平台开发5:翻译功能

思路分析首先对用户发送过来的消息进行判断,判断消息里是否含有“翻译”关键字,如果有,则提取翻译内容,然后调用网络上开放的翻译API 进行翻译。我们用有道翻译API:http://fanyi.youdao.com/openapi?pathdata-mode记下…

Linux之基础I/O

目录 一、C语言中的文件操作 二、系统文件操作I/O 三、文件描述符fd 1、文件描述符的引入 2、对fd的理解 3、文件描述符的分配规则 四、重定向 1、重定向的原理 2、重定向的系统调用dup2 五、Linux下一切皆文件 一、C语言中的文件操作 1、打开和关闭 在C语言的文…

moore和mealy_Mealy机和Moore机的比较研究 目录

moore和mealyFinite automata may also have outputs corresponding to each input symbol. Such finite automata are known as finite automata with the output. 有限自动机还可以具有与每个输入符号相对应的输出。 这种有限自动机称为输出的有限自动机。 There are two fi…

oracle sys连接不上,oracle – 为什么我不能在SYS拥有的对象上创建触发器?

在尝试创建名为ghazal_current_bef_upd_row的触发器时&#xff1a;create trigger ghazal_current_bef_upd_rowbefore update on ghazal_currentfor each rowwhen (new.Rating < old.Rating)begininsert into ghazal_current_audit(GhazalName,Old_Rating,New_Rating)values…

大一python编程题_请教python编程问题(作业就剩这几道题了)

该楼层疑似违规已被系统折叠 隐藏此楼查看此楼1. def cleanword(word):(用Python写出程序&#xff0c;使程序可以通过下面的doctest)""">>> cleanword(what?)what>>> cleanword("now!")now>>> cleanword(?"word!,$…