SlideShare a Scribd company logo
Addressing modes of 8086
1
Addressing Modes
It is the method to specify the operand of an instruction
to the microprocessor.
The instruction has opcodes that determine what to be
done).
The operands define the data to be used in the
operation.
2
Types of Addressing modes
• Immediate addressing mode
• Implicit addressing mode
• Direct addressing mode
• Register addressing mode
• Register Indirect addressing mode
• Relative Based Indexed addressing mode
• Input/Output addressing mode
• String addressing mode
3
4
5
6
Addressing Modes
8086 Microprocessor
1. Direct I/O port Addressing
2. Indirect I/O port Addressing
These addressing modes are used to access data
from standard I/O mapped devices or ports.
In direct port addressing mode, an 8-bit port
address is directly specified in the instruction.
Example: IN AL, [09H]
Operations: PORTaddr
= 09H
(AL) ← (PORT)
Content of port address 09H
is
moved to AL register
In indirect port addressing mode, the instruction
will specify the name of the register which holds
the port address. In 8086, the 16-bit port address
is stored in the DX register.
Example: OUT [DX], AX
Operations: PORTaddr
= (DX)
(PORT) ← (AX)
Content of AX is moved to port
whose address is specified by DX
register.
String Addressing mode
8
8086 Microprocessor
9
DIVISION in 8086 :
1) When we Divide a word by a byte, word must be
in AX register.
AL – Quotient , AH – Remainder
2) When Divide a Double word is divided by a word,
MSB of the word should be in DX and the LSB should
be in AX
AX – Quotient , DX – Remainder

More Related Content

PPTX
addressing-modes-of-8086-mr-binu-joy-2.pptx
PPTX
Addressing modes of 8086 - Binu Joy
PPTX
4-ADDRESSING_MODES_E logic circuits.pptx
PPTX
Lecture 28 , 29 & 30(instruction set & addressing mode of 8086.pptx
PPTX
02 Addressing Modes.pptx
PPTX
Addressing.pptx hhuuhgjhbbhhhddrjjndfyhbdfg
PPTX
Addressing.pptxbfnfjdnndbdfffffffffffggggg
PPTX
Addressing modes
addressing-modes-of-8086-mr-binu-joy-2.pptx
Addressing modes of 8086 - Binu Joy
4-ADDRESSING_MODES_E logic circuits.pptx
Lecture 28 , 29 & 30(instruction set & addressing mode of 8086.pptx
02 Addressing Modes.pptx
Addressing.pptx hhuuhgjhbbhhhddrjjndfyhbdfg
Addressing.pptxbfnfjdnndbdfffffffffffggggg
Addressing modes

Similar to Addressing modes.pdf for engineering student (20)

PPTX
Addressing Modes Of 8086
PDF
Unit 2 (Complete) - Programming of 8086.pdf
DOCX
8086
PPTX
Adressing modes of 8086
PPT
ADDRESSING MODES in 8086 MICROPROCESSOR.ppt
PPTX
Addressing modes 8085
PPTX
Chapter 4 addressing mode in microprocessor.pptx
PPTX
Addressing Modes of 8085 Microprocessor
PDF
8086addressingmodes-200319141110.pdf
PPTX
8086 addressing modes
PPTX
addressing-modes-of-8086-mr-binu-joy-2 (2).pptx
PPTX
pptx_20221115_180411_0000.pptx
PPTX
8051 addressing modes & instruction set
DOCX
Notes 8086 instruction format
DOCX
Assignment on different types of addressing modes
PPTX
8086 Micro-processor and MDA 8086 Trainer Kit
PPTX
Lecture 10
PPTX
Addressing Modes of 8085 Microprocessor.
PDF
8086 instruction set (with simulator)
PPTX
UNIT-I MICROPROCESSOR PROGRAMMING AND STACK.pptx
Addressing Modes Of 8086
Unit 2 (Complete) - Programming of 8086.pdf
8086
Adressing modes of 8086
ADDRESSING MODES in 8086 MICROPROCESSOR.ppt
Addressing modes 8085
Chapter 4 addressing mode in microprocessor.pptx
Addressing Modes of 8085 Microprocessor
8086addressingmodes-200319141110.pdf
8086 addressing modes
addressing-modes-of-8086-mr-binu-joy-2 (2).pptx
pptx_20221115_180411_0000.pptx
8051 addressing modes & instruction set
Notes 8086 instruction format
Assignment on different types of addressing modes
8086 Micro-processor and MDA 8086 Trainer Kit
Lecture 10
Addressing Modes of 8085 Microprocessor.
8086 instruction set (with simulator)
UNIT-I MICROPROCESSOR PROGRAMMING AND STACK.pptx
Ad

Recently uploaded (20)

PDF
Abdominal Access Techniques with Prof. Dr. R K Mishra
PPTX
Cell Types and Its function , kingdom of life
PDF
STATICS OF THE RIGID BODIES Hibbelers.pdf
PPTX
Microbial diseases, their pathogenesis and prophylaxis
PDF
102 student loan defaulters named and shamed – Is someone you know on the list?
PPTX
Final Presentation General Medicine 03-08-2024.pptx
PPTX
GDM (1) (1).pptx small presentation for students
PDF
The Lost Whites of Pakistan by Jahanzaib Mughal.pdf
PDF
TR - Agricultural Crops Production NC III.pdf
PDF
Complications of Minimal Access Surgery at WLH
PDF
2.FourierTransform-ShortQuestionswithAnswers.pdf
PDF
Insiders guide to clinical Medicine.pdf
PDF
FourierSeries-QuestionsWithAnswers(Part-A).pdf
PDF
RMMM.pdf make it easy to upload and study
PDF
VCE English Exam - Section C Student Revision Booklet
PDF
Physiotherapy_for_Respiratory_and_Cardiac_Problems WEBBER.pdf
PDF
3rd Neelam Sanjeevareddy Memorial Lecture.pdf
PPTX
master seminar digital applications in india
PPTX
Introduction_to_Human_Anatomy_and_Physiology_for_B.Pharm.pptx
PPTX
1st Inaugural Professorial Lecture held on 19th February 2020 (Governance and...
Abdominal Access Techniques with Prof. Dr. R K Mishra
Cell Types and Its function , kingdom of life
STATICS OF THE RIGID BODIES Hibbelers.pdf
Microbial diseases, their pathogenesis and prophylaxis
102 student loan defaulters named and shamed – Is someone you know on the list?
Final Presentation General Medicine 03-08-2024.pptx
GDM (1) (1).pptx small presentation for students
The Lost Whites of Pakistan by Jahanzaib Mughal.pdf
TR - Agricultural Crops Production NC III.pdf
Complications of Minimal Access Surgery at WLH
2.FourierTransform-ShortQuestionswithAnswers.pdf
Insiders guide to clinical Medicine.pdf
FourierSeries-QuestionsWithAnswers(Part-A).pdf
RMMM.pdf make it easy to upload and study
VCE English Exam - Section C Student Revision Booklet
Physiotherapy_for_Respiratory_and_Cardiac_Problems WEBBER.pdf
3rd Neelam Sanjeevareddy Memorial Lecture.pdf
master seminar digital applications in india
Introduction_to_Human_Anatomy_and_Physiology_for_B.Pharm.pptx
1st Inaugural Professorial Lecture held on 19th February 2020 (Governance and...
Ad

Addressing modes.pdf for engineering student

  • 2. Addressing Modes It is the method to specify the operand of an instruction to the microprocessor. The instruction has opcodes that determine what to be done). The operands define the data to be used in the operation. 2
  • 3. Types of Addressing modes • Immediate addressing mode • Implicit addressing mode • Direct addressing mode • Register addressing mode • Register Indirect addressing mode • Relative Based Indexed addressing mode • Input/Output addressing mode • String addressing mode 3
  • 4. 4
  • 5. 5
  • 6. 6
  • 7. Addressing Modes 8086 Microprocessor 1. Direct I/O port Addressing 2. Indirect I/O port Addressing These addressing modes are used to access data from standard I/O mapped devices or ports. In direct port addressing mode, an 8-bit port address is directly specified in the instruction. Example: IN AL, [09H] Operations: PORTaddr = 09H (AL) ← (PORT) Content of port address 09H is moved to AL register In indirect port addressing mode, the instruction will specify the name of the register which holds the port address. In 8086, the 16-bit port address is stored in the DX register. Example: OUT [DX], AX Operations: PORTaddr = (DX) (PORT) ← (AX) Content of AX is moved to port whose address is specified by DX register.
  • 9. 9 DIVISION in 8086 : 1) When we Divide a word by a byte, word must be in AX register. AL – Quotient , AH – Remainder 2) When Divide a Double word is divided by a word, MSB of the word should be in DX and the LSB should be in AX AX – Quotient , DX – Remainder