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.pswp.cn/news/542509.shtml
繁體地址,請注明出處:http://hk.pswp.cn/news/542509.shtml
英文地址,請注明出處:http://en.pswp.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!,$…