SlideShare a Scribd company logo
1 of 21
Topic 6:
Addressing Modes of
8086
By: Mr. Binu Joy
Why study addressing modes?
Addressing modes help us to understand the types of operands and
the way they are accessed while executing an instruction.
What are we going to study?
Addressing modes
 We will see the types of addressing modes present in 8086.
 We will study each addressing mode with example.
Types of addressing mode in 8086
1. Immediate addressing mode
2. Direct addressing mode
3. Register addressing mode
4. Register Indirect addressing mode
5. Indexed addressing mode
6. Register relative addressing mode
7. Base plus index addressing mode
8. Base relative plus index addressing mode
9. Intrasegment Direct Mode
10. Intrasegment Indirect Mode
11. Intersegment Direct Mode
12. Intersegment Indirect Mode
1: Immediate addressing mode
 In this type of mode, immediate data is part of instruction and
appears in the form of successive byte or bytes
MOV AX,10ABH
AX
10 ABH
2: Direct addressing mode
 In this type of addressing mode a 16-bit memory offset address is directly specified in the
instruction as a part of it. DS is default segment register.
MOV AX,[5000H]
AX
Memory
5000
5001
5002
22
33
22
33
3: Register addressing mode
 In this type of addressing mode, the data is stored in the register and it can be a 8-bit or 16-
bit register. All the registers, except IP, may be used in this mode.
MOV AL,BLH
MOV AX,BXH
AH AL
AX
FF 33
BX
10 AB
BH BL
10 AB
4: Register Indirect addressing mode
 The address of the memory location which contains data or operand is
determined in a indirect way, using the offset register.
MOV AX,[BX]
Memory
5000
5001
5002
22
50 00
AX
BX
33
22
33
Reflection Spot
Q) Which addressing does instruction above belong, and
why?
MOV [7000H],CX
Reflection Spot
Q) Which addressing does instruction above belonging and
why?
MOV [7000H],CX
Memory
7000
7001
7002
22
CX
33
Ans) Direct addressing mode
43 56
43 56
5: Indexed addressing mode
 In this addressing mode, offset of the operand is stored in one of the
index registers. DS is the default segment for index register SI and
DI.
MOV AX,[SI]
Memory
5000
5001
5002
22
50 00
AX
SI
33
22
33
6: Register relative addressing mode
 In this mode, the data is available at an effective address formed by
adding an 8-bit or 16-bit displacement with the content of any one of
the registers BX, BP, SI and DI in the default (either DS or ES)
segment.
MOV AX, 50H[BX]
Memory
5051
5052
5053
44
50 00
AX
BX
33
Offset
+ 50H = 5050H
Final
Index
Address
44
33
7: Base plus index addressing mode
 In this mode the effective address is formed by adding content of a
base register (any one of BX or BP) to the content of an index register
(SI or DI). Default segment register DS.
MOV AX, [BX] [SI]
3000
3001
3002
10 00
AX
BX
= 3000H
Final
Index
Address
20 00
SI
+
12
34
12
34
8: Base relative plus index addressing mode
 In the effective address is formed by adding an 8 or 16-bit
displacement with sum of contents of any one of the base registers
(BX or BP) and any one of the index registers, in a default segment.
MOV AX,50H[BX][SI]
3050
3051
3052
10 00
AX
BX
= 3050H
Final
Index
Address
20 00
SI
12
50H +
34
12
34
9: Intrasegment Direct Mode
 Address to which the control or sequence of execution has to be
transferred relative to IP is given along with the instruction. Control of
transfer takes place within the segment. CS gives segment address.
JMP SHORT LABEL for 8-bit relative displacement
JMP NEAR PTR LABEL for 16-bit relative displacement
10: Intrasegment Indirect Mode
 Address to which the control or sequence of execution has to be
transferred relative to IP is given inside a register given along with the
instruction. Control of transfer takes place within the segment. CS
gives the segment address.
JMP [BX]; Jump to effective address stored in BX
JMP [BX+5000H]
11: Intersegment Direct Mode
 Address to which the control or sequence of execution has to be
transferred that is both segment address (CS) and offset address. Is
given in the instruction. Control of transfer takes place to a different
segment.
JMP 5000H:2000H ;
12: Intersegment Indirect Mode
 Address to which the control or sequence of execution has to be
transferred that is both segment address (CS) and offset address is
given inside memory and its segment address is given by DS and
offset is given along with instruction. Control of transfer takes place to
a different segment.
JMP [2000H] ; IP(LSB), IP(MSB), CS(LSB), CS(MSB)
Values are stored from memory location
DS:[2000H]
What we have learnt
 Different types of addressing modes present in 8086.
 Location of operands with respect to different addressing
modes.
Summery
References
 Advanced Microprocessors and Peripheral
- By K Bhurchandi, A. K. Ray
This presentation is licensed to the public
Text is available under the Creative
Commons Attribution-ShareAlike License

More Related Content

Similar to Addressing Modes of 8086 Microprocessor

Lecture 28 , 29 & 30(instruction set & addressing mode of 8086.pptx
Lecture 28 , 29 & 30(instruction set & addressing mode of 8086.pptxLecture 28 , 29 & 30(instruction set & addressing mode of 8086.pptx
Lecture 28 , 29 & 30(instruction set & addressing mode of 8086.pptxVikasMahor3
 
8086 microprocessor pptx JNTUH ece 3rd year
8086 microprocessor pptx JNTUH ece 3rd year8086 microprocessor pptx JNTUH ece 3rd year
8086 microprocessor pptx JNTUH ece 3rd yearBharghavteja1
 
8086 instruction set (with simulator)
8086 instruction set (with simulator)8086 instruction set (with simulator)
8086 instruction set (with simulator)Aswini Dharmaraj
 
Adressing modes of 8086
Adressing modes of 8086Adressing modes of 8086
Adressing modes of 8086KANNANKR12
 
All-addressing-modes of the 80386 /microprocessor.pptx
All-addressing-modes of the 80386 /microprocessor.pptxAll-addressing-modes of the 80386 /microprocessor.pptx
All-addressing-modes of the 80386 /microprocessor.pptxVidyaAshokNemade
 
8086addressingmodes-200319141110.pdf
8086addressingmodes-200319141110.pdf8086addressingmodes-200319141110.pdf
8086addressingmodes-200319141110.pdfTanmoyMondal89
 
Addressing mode of 80286 microprocessor
Addressing mode of 80286 microprocessorAddressing mode of 80286 microprocessor
Addressing mode of 80286 microprocessorpal bhumit
 
Addressing Modes Of 8086
Addressing Modes Of 8086Addressing Modes Of 8086
Addressing Modes Of 8086Ikhlas Rahman
 
8086 Micro-processor and MDA 8086 Trainer Kit
8086 Micro-processor and MDA 8086 Trainer Kit8086 Micro-processor and MDA 8086 Trainer Kit
8086 Micro-processor and MDA 8086 Trainer KitAmit Kumer Podder
 
pptx_20221115_180411_0000.pptx
pptx_20221115_180411_0000.pptxpptx_20221115_180411_0000.pptx
pptx_20221115_180411_0000.pptxAManiMaran1
 
Introduction of 8086 micro processor .
Introduction of 8086 micro processor .Introduction of 8086 micro processor .
Introduction of 8086 micro processor .Siraj Ahmed
 
31. 8086 addressing modes
31. 8086 addressing modes31. 8086 addressing modes
31. 8086 addressing modessandip das
 
advancsed microprocessor and interfacing
advancsed microprocessor and interfacingadvancsed microprocessor and interfacing
advancsed microprocessor and interfacing@zenafaris91
 
Assembly language.pptx
Assembly language.pptxAssembly language.pptx
Assembly language.pptxShaistaRiaz4
 
micro chapter 3jjgffffyeyhhuyerfftfgggffgjj
micro chapter 3jjgffffyeyhhuyerfftfgggffgjjmicro chapter 3jjgffffyeyhhuyerfftfgggffgjj
micro chapter 3jjgffffyeyhhuyerfftfgggffgjjTadeseBeyene
 

Similar to Addressing Modes of 8086 Microprocessor (20)

Addressing modes
Addressing modesAddressing modes
Addressing modes
 
Lecture 28 , 29 & 30(instruction set & addressing mode of 8086.pptx
Lecture 28 , 29 & 30(instruction set & addressing mode of 8086.pptxLecture 28 , 29 & 30(instruction set & addressing mode of 8086.pptx
Lecture 28 , 29 & 30(instruction set & addressing mode of 8086.pptx
 
8086 microprocessor pptx JNTUH ece 3rd year
8086 microprocessor pptx JNTUH ece 3rd year8086 microprocessor pptx JNTUH ece 3rd year
8086 microprocessor pptx JNTUH ece 3rd year
 
8086 instruction set (with simulator)
8086 instruction set (with simulator)8086 instruction set (with simulator)
8086 instruction set (with simulator)
 
Adressing modes of 8086
Adressing modes of 8086Adressing modes of 8086
Adressing modes of 8086
 
All-addressing-modes of the 80386 /microprocessor.pptx
All-addressing-modes of the 80386 /microprocessor.pptxAll-addressing-modes of the 80386 /microprocessor.pptx
All-addressing-modes of the 80386 /microprocessor.pptx
 
Addressing modes of 8086
Addressing modes of 8086Addressing modes of 8086
Addressing modes of 8086
 
8086addressingmodes-200319141110.pdf
8086addressingmodes-200319141110.pdf8086addressingmodes-200319141110.pdf
8086addressingmodes-200319141110.pdf
 
8086 addressing modes
8086 addressing modes8086 addressing modes
8086 addressing modes
 
Addressing mode of 80286 microprocessor
Addressing mode of 80286 microprocessorAddressing mode of 80286 microprocessor
Addressing mode of 80286 microprocessor
 
Addressing Modes Of 8086
Addressing Modes Of 8086Addressing Modes Of 8086
Addressing Modes Of 8086
 
8086 Micro-processor and MDA 8086 Trainer Kit
8086 Micro-processor and MDA 8086 Trainer Kit8086 Micro-processor and MDA 8086 Trainer Kit
8086 Micro-processor and MDA 8086 Trainer Kit
 
pptx_20221115_180411_0000.pptx
pptx_20221115_180411_0000.pptxpptx_20221115_180411_0000.pptx
pptx_20221115_180411_0000.pptx
 
Introduction of 8086 micro processor .
Introduction of 8086 micro processor .Introduction of 8086 micro processor .
Introduction of 8086 micro processor .
 
31. 8086 addressing modes
31. 8086 addressing modes31. 8086 addressing modes
31. 8086 addressing modes
 
advancsed microprocessor and interfacing
advancsed microprocessor and interfacingadvancsed microprocessor and interfacing
advancsed microprocessor and interfacing
 
Chapter 1 archietecture of 8086
Chapter 1 archietecture of 8086Chapter 1 archietecture of 8086
Chapter 1 archietecture of 8086
 
Lecture 10
Lecture 10Lecture 10
Lecture 10
 
Assembly language.pptx
Assembly language.pptxAssembly language.pptx
Assembly language.pptx
 
micro chapter 3jjgffffyeyhhuyerfftfgggffgjj
micro chapter 3jjgffffyeyhhuyerfftfgggffgjjmicro chapter 3jjgffffyeyhhuyerfftfgggffgjj
micro chapter 3jjgffffyeyhhuyerfftfgggffgjj
 

Recently uploaded

247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).pptssuser5c9d4b1
 
SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )Tsuyoshi Horigome
 
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICSHARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICSRajkumarAkumalla
 
AKTU Computer Networks notes --- Unit 3.pdf
AKTU Computer Networks notes ---  Unit 3.pdfAKTU Computer Networks notes ---  Unit 3.pdf
AKTU Computer Networks notes --- Unit 3.pdfankushspencer015
 
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Christo Ananth
 
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130Suhani Kapoor
 
Microscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxMicroscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxpurnimasatapathy1234
 
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escortsranjana rawat
 
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...ranjana rawat
 
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...roncy bisnoi
 
Coefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxCoefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxAsutosh Ranjan
 
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...Call Girls in Nagpur High Profile
 
UNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its PerformanceUNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its Performancesivaprakash250
 
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Serviceranjana rawat
 
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLSMANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLSSIVASHANKAR N
 
Introduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxIntroduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxupamatechverse
 
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130Suhani Kapoor
 
Porous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingPorous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingrakeshbaidya232001
 
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCollege Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCall Girls in Nagpur High Profile
 

Recently uploaded (20)

247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt
 
SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )
 
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICSHARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
 
AKTU Computer Networks notes --- Unit 3.pdf
AKTU Computer Networks notes ---  Unit 3.pdfAKTU Computer Networks notes ---  Unit 3.pdf
AKTU Computer Networks notes --- Unit 3.pdf
 
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
 
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
 
Microscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxMicroscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptx
 
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
 
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
 
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
 
Coefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxCoefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptx
 
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
 
UNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its PerformanceUNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its Performance
 
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
 
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLSMANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
 
Introduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxIntroduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptx
 
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
 
Porous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingPorous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writing
 
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCollege Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
 

Addressing Modes of 8086 Microprocessor

  • 1. Topic 6: Addressing Modes of 8086 By: Mr. Binu Joy
  • 2. Why study addressing modes? Addressing modes help us to understand the types of operands and the way they are accessed while executing an instruction.
  • 3. What are we going to study? Addressing modes  We will see the types of addressing modes present in 8086.  We will study each addressing mode with example.
  • 4. Types of addressing mode in 8086 1. Immediate addressing mode 2. Direct addressing mode 3. Register addressing mode 4. Register Indirect addressing mode 5. Indexed addressing mode 6. Register relative addressing mode 7. Base plus index addressing mode 8. Base relative plus index addressing mode 9. Intrasegment Direct Mode 10. Intrasegment Indirect Mode 11. Intersegment Direct Mode 12. Intersegment Indirect Mode
  • 5. 1: Immediate addressing mode  In this type of mode, immediate data is part of instruction and appears in the form of successive byte or bytes MOV AX,10ABH AX 10 ABH
  • 6. 2: Direct addressing mode  In this type of addressing mode a 16-bit memory offset address is directly specified in the instruction as a part of it. DS is default segment register. MOV AX,[5000H] AX Memory 5000 5001 5002 22 33 22 33
  • 7. 3: Register addressing mode  In this type of addressing mode, the data is stored in the register and it can be a 8-bit or 16- bit register. All the registers, except IP, may be used in this mode. MOV AL,BLH MOV AX,BXH AH AL AX FF 33 BX 10 AB BH BL 10 AB
  • 8. 4: Register Indirect addressing mode  The address of the memory location which contains data or operand is determined in a indirect way, using the offset register. MOV AX,[BX] Memory 5000 5001 5002 22 50 00 AX BX 33 22 33
  • 9. Reflection Spot Q) Which addressing does instruction above belong, and why? MOV [7000H],CX
  • 10. Reflection Spot Q) Which addressing does instruction above belonging and why? MOV [7000H],CX Memory 7000 7001 7002 22 CX 33 Ans) Direct addressing mode 43 56 43 56
  • 11. 5: Indexed addressing mode  In this addressing mode, offset of the operand is stored in one of the index registers. DS is the default segment for index register SI and DI. MOV AX,[SI] Memory 5000 5001 5002 22 50 00 AX SI 33 22 33
  • 12. 6: Register relative addressing mode  In this mode, the data is available at an effective address formed by adding an 8-bit or 16-bit displacement with the content of any one of the registers BX, BP, SI and DI in the default (either DS or ES) segment. MOV AX, 50H[BX] Memory 5051 5052 5053 44 50 00 AX BX 33 Offset + 50H = 5050H Final Index Address 44 33
  • 13. 7: Base plus index addressing mode  In this mode the effective address is formed by adding content of a base register (any one of BX or BP) to the content of an index register (SI or DI). Default segment register DS. MOV AX, [BX] [SI] 3000 3001 3002 10 00 AX BX = 3000H Final Index Address 20 00 SI + 12 34 12 34
  • 14. 8: Base relative plus index addressing mode  In the effective address is formed by adding an 8 or 16-bit displacement with sum of contents of any one of the base registers (BX or BP) and any one of the index registers, in a default segment. MOV AX,50H[BX][SI] 3050 3051 3052 10 00 AX BX = 3050H Final Index Address 20 00 SI 12 50H + 34 12 34
  • 15. 9: Intrasegment Direct Mode  Address to which the control or sequence of execution has to be transferred relative to IP is given along with the instruction. Control of transfer takes place within the segment. CS gives segment address. JMP SHORT LABEL for 8-bit relative displacement JMP NEAR PTR LABEL for 16-bit relative displacement
  • 16. 10: Intrasegment Indirect Mode  Address to which the control or sequence of execution has to be transferred relative to IP is given inside a register given along with the instruction. Control of transfer takes place within the segment. CS gives the segment address. JMP [BX]; Jump to effective address stored in BX JMP [BX+5000H]
  • 17. 11: Intersegment Direct Mode  Address to which the control or sequence of execution has to be transferred that is both segment address (CS) and offset address. Is given in the instruction. Control of transfer takes place to a different segment. JMP 5000H:2000H ;
  • 18. 12: Intersegment Indirect Mode  Address to which the control or sequence of execution has to be transferred that is both segment address (CS) and offset address is given inside memory and its segment address is given by DS and offset is given along with instruction. Control of transfer takes place to a different segment. JMP [2000H] ; IP(LSB), IP(MSB), CS(LSB), CS(MSB) Values are stored from memory location DS:[2000H]
  • 19. What we have learnt  Different types of addressing modes present in 8086.  Location of operands with respect to different addressing modes. Summery
  • 20. References  Advanced Microprocessors and Peripheral - By K Bhurchandi, A. K. Ray
  • 21. This presentation is licensed to the public Text is available under the Creative Commons Attribution-ShareAlike License