Addressing Modes - GeeksforGeeks
Addressing Modes - GeeksforGeeks
Addressing modes for 8086 instructions are divided into two categories:
IMPORTANT TERMS
Example: MOV AL, 35H (move the data 35H into AL register)
The 8086 CPUs let you access memory indirectly through a register
using the register indirect addressing modes.
Auto decrement mode is same as auto increment mode. Both can also be
used to implement a stack as push and pop . Auto increment and Auto
decrement modes are useful for implementing “Last-In-First-Out” data
structures.
EA= Base
We use cookies to ensure register
you have + Address
the best browsing field
experience value.
on our website.
By using our site,PC= Base register
you acknowledge + Relative
that you have value.our
read and understood
Cookie Policy & Privacy Policy Cookies are not collected in the GeeksforGeeks
mobile applications.
Note:
1. PC relative and based register both addressing modes are
suitable for program relocation at runtime.
2. Based register addressing mode is best suitable to write
position independent codes.
Match each of the high level language statements given on the left hand
side with the most natural addressing mode from those listed on the right
hand side.
Answer: (C)
Explanation:
List 1 List 2
1) A[1] = B[J]; b) Index addressing
Here indexing is used
We use 2) while
cookies [*A++];
to ensure c) browsing
you have the best auto increment
experience on our website.
By using
Theour site, you locations
memory acknowledge that
areyouautomatically
have read and understood our
incremented
Cookie Policy & Privacy Policy Cookies are not collected in the GeeksforGeeks
mobile applications.
3) int temp = *x; a) Indirect addressing
Here temp is assigned the value of int type stored
at the address contained in X
lease write comments if you find anything incorrect, or you want to share
more information about the topic discussed above.
Similar Reads
We use cookies to ensure you have the best browsing experience on our website.
By using our site, you acknowledge that you have read and understood our
Difference between Indirect and Immediate Addressing Modes
Cookie Policy & Privacy Policy Cookies are not collected in the GeeksforGeeks
mobile applications.
Prerequisite - Addressing Modes 1. Indirect Addressing Mode: In indirect
addressing mode, the address field in the instruction points to the memory…
2 min read
We use cookies to ensure you have the best browsing experience on our website.
By using our site, you acknowledge that you have read and understood our
Modes of DMA Transfer
Cookie Policy & Privacy Policy Cookies are not collected in the GeeksforGeeks
mobile applications.
In this article we will try to understand the details associated with the DMA
(Direct Memory Access) like what exactly DMA is or how it works and also…
5 min read
Company Explore
About Us Job-A-Thon Hiring Challenge
Legal Hack-A-Thon
Careers GfG Weekly Contest
In Media Offline Classes (Delhi/NCR)
Contact Us DSA in JAVA/C++
We use cookies to ensure you have the best browsing experience on our website.
Advertise with us Master System Design
By using our site, you acknowledge that you have read and understood our
GFG Corporate Solution
Cookie Policy & Privacy Policy Cookies are not collected in the GeeksforGeeks Master CP
Placement Training Program
mobile applications. GeeksforGeeks Videos
Geeks Community
Languages DSA
Python Data Structures
Java Algorithms
C++ DSA for Beginners
PHP Basic DSA Problems
GoLang DSA Roadmap
SQL DSA Interview Questions
R Language Competitive Programming
Android Tutorial
We use cookies to ensure you have the best browsing experience on our website.
School Subjects Commerce
By using our site, you acknowledge that you have read and understood our
Mathematics Accountancy
Cookie Policy & Privacy Policy Cookies are not collected in the GeeksforGeeks
Physics Business Studies
mobile applications.
Chemistry Economics
Biology Management
Social Science HR Management
English Grammar Finance
Income Tax
We use cookies to ensure you have the best browsing experience on our website.
By using our site, you acknowledge that you have read and understood our
Cookie Policy & Privacy Policy Cookies are not collected in the GeeksforGeeks
mobile applications.