SlideShare ist ein Scribd-Unternehmen logo
1 von 18
Downloaden Sie, um offline zu lesen
Addressing Modes of 80386
Prepared By pdfshare
Introduction
Addressing modes indicate a way of locating data or operands.
Described the type of operands and the way they are accessed
for executing an instruction.
The method by which address of source data and address of
destination of result is given in the instruction is called as “
Addressing Modes”.
The 80386 Microprocessor Provide 11 addressing modes.
Prepared By pdfshare
Addressing Modes
 Register addressing Mode
 Immediate addressing Mode
 Direct addressing Mode
 Register Indirect addressing Mode
 Based addressing Mode
 Index addressing Mode
 Scaled Index addressing Mode
 Based Index addressing Mode
 Based Scaled Index addressing Mode
 Based Index addressing Mode with Displacement
 Based Scaled Index addressing Mode with Displacement
Prepared By pdfshare
Register addressing Mode
The data is stored in a register and it is referred using a
particular register.
All register accept IP used in this addressing mode.
The 8/16/32 bit data required to execute an instruction is
present in 8/16/32 bit register is given along with the
instruction is called “Register addressing mode. “
 Example : ADD EAX,EBX
Prepared By pdfshare
Immediate addressing Mode
 In this addressing mode, immediate data is part of
instruction.
 The 8/16/32 bit data required to execute an instruction is given
directly along with the instruction is called “Immediate addressing
mode”.
 Example :
 Mov EAX,12345678H
Prepared By pdfshare
Cont…..
 The linear address consists of two components:
The segment base address and
An effective address.
 The effective address is calculated by using four address elements:
DISPLACEMENT: An 8-, or 32-bit immediate value
BASE: The contents of any general purpose register. It is
generally used by compilers to point to the start of the local
variable area.
INDEX: The contents of any general purpose register except for
ESP. The index registers are used to access the elements of an
array, or a string of characters.
SCALE: The index register's value can be multiplied by a scale
factor, either 1, 2, 4 or 8. Scaled index mode is especially useful
for accessing arrays or structures.
Prepared By pdfshare
 The effective address (EA) of an operand is calculated according to the following formula:
 EA = Base Register + (Index Register * Scaling) + Displacement.
Prepared By pdfshare
Prepared By pdfshare
Direct addressing Mode
 The 8/16/32 bit data required to execute an instruction is present in memory location and effective
address of this memory location is given directly along with the instruction then it is called “Direct
addressing mode”.
 Example : Mov AX,[5000H]
Prepared By pdfshare
Register Indirect addressing Mode
 A base register will contain the address of operand
 Example: MOV [ECX], EDX
 The 8/16/32 bit data required to execute an instruction is present in
memory location and effective address of that memory location is
present in a 32 bit register and the name of this register is given along
with the instruction then it is called “Register Indirect addressing
mode”.
Prepared By pdfshare
Based addressing Mode
A BASE register's contents is added to a
DISPLACEMENT to form the operands offset.
Example: MOV ECX, [EAX+24]
Prepared By pdfshare
Index addressing Mode
 An INDEX register's contents is added to a DISPLACEMENT to form the operands
offset. EXAMPLE: ADD EAX, TABLE[ESI]
 The 8/16/32 bit data required to execute an instruction is present in memory
location and effective address of that memory location is obtained by adding three
contents : 1. The 32 bit content of base register 2. The 32 bit content of Index
Register 3. Displacement.
Prepared By pdfshare
Scaled Index addressing Mode
 An INDEX register's contents is multiplied by a scaling factor
which is added to a DISPLACEMENT to form the operands
offset.
 Example: MOV EBX, LIST[ESI*4]
Prepared By pdfshare
Based Index addressing Mode
The contents of a BASE register are added to the contents of an INDEX
register to form the effective address of an operand.
The 8/16/32 bit data required to execute an instruction is present in memory
location and effective address of that memory location is obtained by adding
two contents : 1. The 32 bit content of base register 2. The 32 bit content of
Index Register is called as Based Index addressing Mode.
 Example: MOV EAX, [ESI] [EBX]
Prepared By pdfshare
Based Scaled Index addressing Mode
The contents of an INDEX register is multiplied by a SCALING factor and
the result is added to the contents of a BASE register to obtain the operands
offset.
Example: MOV ECX, [EDX*8] [EAX]
Prepared By pdfshare
Based Index addressing Mode with Displacement
The contents of an INDEX Register and a BASE register's contents and a
DISPLACEMENT are all summed together to form the operand offset.
Example: ADD EDX, [ESI] [EBP+00FFFFF0H]
Prepared By pdfshare
Based Scaled Index addressing Mode with
Displacement
The contents of an INDEX register are multiplied by a SCALING factor, the
result is added to the contents of a BASE register and a DISPLACEMENT to
form the operand's offset.
EXAMPLE: MOV EAX, LIST [EDI*4] [EBP+80]
Prepared By pdfshare
Prepared By PDFSHARE
Prepared By PDFSHARE

Weitere ähnliche Inhalte

Was ist angesagt?

Instruction set-of-8085
Instruction set-of-8085Instruction set-of-8085
Instruction set-of-8085
saleForce
 
Salient featurs of 80386
Salient featurs of 80386Salient featurs of 80386
Salient featurs of 80386
aviban
 
8237 dma controller
8237 dma controller8237 dma controller
8237 dma controller
Tech_MX
 
8086-instruction-set-ppt
 8086-instruction-set-ppt 8086-instruction-set-ppt
8086-instruction-set-ppt
jemimajerome
 
Computer instructions
Computer instructionsComputer instructions
Computer instructions
Anuj Modi
 

Was ist angesagt? (20)

Instruction set-of-8085
Instruction set-of-8085Instruction set-of-8085
Instruction set-of-8085
 
8085 addressing modes
8085 addressing modes8085 addressing modes
8085 addressing modes
 
Addressing modes of 8086
Addressing modes of 8086Addressing modes of 8086
Addressing modes of 8086
 
Addressing modes of 8086 - Binu Joy
Addressing modes of 8086 - Binu JoyAddressing modes of 8086 - Binu Joy
Addressing modes of 8086 - Binu Joy
 
Salient featurs of 80386
Salient featurs of 80386Salient featurs of 80386
Salient featurs of 80386
 
Minimum mode and Maximum mode Configuration in 8086
Minimum mode and Maximum mode Configuration in 8086Minimum mode and Maximum mode Configuration in 8086
Minimum mode and Maximum mode Configuration in 8086
 
8251 USART
8251 USART8251 USART
8251 USART
 
Intel 80486 Microprocessor
Intel 80486 MicroprocessorIntel 80486 Microprocessor
Intel 80486 Microprocessor
 
Intel® 80386 microprocessor registers
Intel® 80386 microprocessor registersIntel® 80386 microprocessor registers
Intel® 80386 microprocessor registers
 
Addressing modes of 8086
Addressing modes of 8086Addressing modes of 8086
Addressing modes of 8086
 
program status word
program status wordprogram status word
program status word
 
8237 dma controller
8237 dma controller8237 dma controller
8237 dma controller
 
80386 Architecture
80386 Architecture80386 Architecture
80386 Architecture
 
flag register of 8086
flag register of 8086flag register of 8086
flag register of 8086
 
Addressing Modes Of 8086
Addressing Modes Of 8086Addressing Modes Of 8086
Addressing Modes Of 8086
 
80286 microprocessor
80286 microprocessor80286 microprocessor
80286 microprocessor
 
8255 PPI
8255 PPI8255 PPI
8255 PPI
 
8086-instruction-set-ppt
 8086-instruction-set-ppt 8086-instruction-set-ppt
8086-instruction-set-ppt
 
8086 memory segmentation
8086 memory segmentation8086 memory segmentation
8086 memory segmentation
 
Computer instructions
Computer instructionsComputer instructions
Computer instructions
 

Ähnlich wie Addressing modes of 80386

pptx_20221115_180411_0000.pptx
pptx_20221115_180411_0000.pptxpptx_20221115_180411_0000.pptx
pptx_20221115_180411_0000.pptx
AManiMaran1
 
Describe the three main addressing modes of the PIC16 architecture di.pdf
Describe the three main addressing modes of the PIC16 architecture di.pdfDescribe the three main addressing modes of the PIC16 architecture di.pdf
Describe the three main addressing modes of the PIC16 architecture di.pdf
SALES97
 
micro chapter 3jjgffffyeyhhuyerfftfgggffgjj
micro chapter 3jjgffffyeyhhuyerfftfgggffgjjmicro chapter 3jjgffffyeyhhuyerfftfgggffgjj
micro chapter 3jjgffffyeyhhuyerfftfgggffgjj
TadeseBeyene
 
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
VikasMahor3
 

Ähnlich wie Addressing modes of 80386 (20)

pptx_20221115_180411_0000.pptx
pptx_20221115_180411_0000.pptxpptx_20221115_180411_0000.pptx
pptx_20221115_180411_0000.pptx
 
Describe the three main addressing modes of the PIC16 architecture di.pdf
Describe the three main addressing modes of the PIC16 architecture di.pdfDescribe the three main addressing modes of the PIC16 architecture di.pdf
Describe the three main addressing modes of the PIC16 architecture di.pdf
 
Notes 8086 instruction format
Notes 8086 instruction formatNotes 8086 instruction format
Notes 8086 instruction format
 
lect 03- MIT Addressing Modes.pdf
lect 03- MIT Addressing Modes.pdflect 03- MIT Addressing Modes.pdf
lect 03- MIT Addressing Modes.pdf
 
micro chapter 3jjgffffyeyhhuyerfftfgggffgjj
micro chapter 3jjgffffyeyhhuyerfftfgggffgjjmicro chapter 3jjgffffyeyhhuyerfftfgggffgjj
micro chapter 3jjgffffyeyhhuyerfftfgggffgjj
 
instruction format and addressing modes
instruction format and addressing modesinstruction format and addressing modes
instruction format and addressing modes
 
8086 instruction set (with simulator)
8086 instruction set (with simulator)8086 instruction set (with simulator)
8086 instruction set (with simulator)
 
Chapter 1 archietecture of 8086
Chapter 1 archietecture of 8086Chapter 1 archietecture of 8086
Chapter 1 archietecture of 8086
 
Chapter 7
Chapter 7Chapter 7
Chapter 7
 
UNIT-2.pptx
UNIT-2.pptxUNIT-2.pptx
UNIT-2.pptx
 
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
 
Unit II arm 7 Instruction Set
Unit II arm 7 Instruction SetUnit II arm 7 Instruction Set
Unit II arm 7 Instruction Set
 
ADDRESSING MODE
ADDRESSING MODEADDRESSING MODE
ADDRESSING MODE
 
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
 
address5ng modes.pptx IS A GOOD MATERIAL
address5ng  modes.pptx IS A GOOD MATERIALaddress5ng  modes.pptx IS A GOOD MATERIAL
address5ng modes.pptx IS A GOOD MATERIAL
 
Addressing modes presentation
Addressing modes presentationAddressing modes presentation
Addressing modes presentation
 
Memory Access Instructions
Memory Access InstructionsMemory Access Instructions
Memory Access Instructions
 
Advanced computer architect lesson 3 and 4
Advanced computer architect lesson 3 and 4Advanced computer architect lesson 3 and 4
Advanced computer architect lesson 3 and 4
 
Chapter 4 programming concepts III
Chapter 4  programming concepts IIIChapter 4  programming concepts III
Chapter 4 programming concepts III
 
Computer architecture instruction formats
Computer architecture instruction formatsComputer architecture instruction formats
Computer architecture instruction formats
 

Kürzlich hochgeladen

VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
dharasingh5698
 
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
dollysharma2066
 
Call Girls in Netaji Nagar, Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Netaji Nagar, Delhi 💯 Call Us 🔝9953056974 🔝 Escort ServiceCall Girls in Netaji Nagar, Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Netaji Nagar, Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
notes on Evolution Of Analytic Scalability.ppt
notes on Evolution Of Analytic Scalability.pptnotes on Evolution Of Analytic Scalability.ppt
notes on Evolution Of Analytic Scalability.ppt
MsecMca
 
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort ServiceCall Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
9953056974 Low Rate Call Girls In Saket, Delhi NCR
 

Kürzlich hochgeladen (20)

Intze Overhead Water Tank Design by Working Stress - IS Method.pdf
Intze Overhead Water Tank  Design by Working Stress - IS Method.pdfIntze Overhead Water Tank  Design by Working Stress - IS Method.pdf
Intze Overhead Water Tank Design by Working Stress - IS Method.pdf
 
Unit 2- Effective stress & Permeability.pdf
Unit 2- Effective stress & Permeability.pdfUnit 2- Effective stress & Permeability.pdf
Unit 2- Effective stress & Permeability.pdf
 
University management System project report..pdf
University management System project report..pdfUniversity management System project report..pdf
University management System project report..pdf
 
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...
 
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete RecordCCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
 
Thermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - VThermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - V
 
data_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdfdata_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdf
 
Intro To Electric Vehicles PDF Notes.pdf
Intro To Electric Vehicles PDF Notes.pdfIntro To Electric Vehicles PDF Notes.pdf
Intro To Electric Vehicles PDF Notes.pdf
 
(INDIRA) Call Girl Bhosari Call Now 8617697112 Bhosari Escorts 24x7
(INDIRA) Call Girl Bhosari Call Now 8617697112 Bhosari Escorts 24x7(INDIRA) Call Girl Bhosari Call Now 8617697112 Bhosari Escorts 24x7
(INDIRA) Call Girl Bhosari Call Now 8617697112 Bhosari Escorts 24x7
 
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
 
Call Girls Wakad Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Wakad Call Me 7737669865 Budget Friendly No Advance BookingCall Girls Wakad Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Wakad Call Me 7737669865 Budget Friendly No Advance Booking
 
Double Revolving field theory-how the rotor develops torque
Double Revolving field theory-how the rotor develops torqueDouble Revolving field theory-how the rotor develops torque
Double Revolving field theory-how the rotor develops torque
 
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
 
NFPA 5000 2024 standard .
NFPA 5000 2024 standard                                  .NFPA 5000 2024 standard                                  .
NFPA 5000 2024 standard .
 
Design For Accessibility: Getting it right from the start
Design For Accessibility: Getting it right from the startDesign For Accessibility: Getting it right from the start
Design For Accessibility: Getting it right from the start
 
Call Girls in Netaji Nagar, Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Netaji Nagar, Delhi 💯 Call Us 🔝9953056974 🔝 Escort ServiceCall Girls in Netaji Nagar, Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Netaji Nagar, Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
 
notes on Evolution Of Analytic Scalability.ppt
notes on Evolution Of Analytic Scalability.pptnotes on Evolution Of Analytic Scalability.ppt
notes on Evolution Of Analytic Scalability.ppt
 
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort ServiceCall Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
 
Booking open Available Pune Call Girls Pargaon 6297143586 Call Hot Indian Gi...
Booking open Available Pune Call Girls Pargaon  6297143586 Call Hot Indian Gi...Booking open Available Pune Call Girls Pargaon  6297143586 Call Hot Indian Gi...
Booking open Available Pune Call Girls Pargaon 6297143586 Call Hot Indian Gi...
 
Unit 1 - Soil Classification and Compaction.pdf
Unit 1 - Soil Classification and Compaction.pdfUnit 1 - Soil Classification and Compaction.pdf
Unit 1 - Soil Classification and Compaction.pdf
 

Addressing modes of 80386

  • 1. Addressing Modes of 80386 Prepared By pdfshare
  • 2. Introduction Addressing modes indicate a way of locating data or operands. Described the type of operands and the way they are accessed for executing an instruction. The method by which address of source data and address of destination of result is given in the instruction is called as “ Addressing Modes”. The 80386 Microprocessor Provide 11 addressing modes. Prepared By pdfshare
  • 3. Addressing Modes  Register addressing Mode  Immediate addressing Mode  Direct addressing Mode  Register Indirect addressing Mode  Based addressing Mode  Index addressing Mode  Scaled Index addressing Mode  Based Index addressing Mode  Based Scaled Index addressing Mode  Based Index addressing Mode with Displacement  Based Scaled Index addressing Mode with Displacement Prepared By pdfshare
  • 4. Register addressing Mode The data is stored in a register and it is referred using a particular register. All register accept IP used in this addressing mode. The 8/16/32 bit data required to execute an instruction is present in 8/16/32 bit register is given along with the instruction is called “Register addressing mode. “  Example : ADD EAX,EBX Prepared By pdfshare
  • 5. Immediate addressing Mode  In this addressing mode, immediate data is part of instruction.  The 8/16/32 bit data required to execute an instruction is given directly along with the instruction is called “Immediate addressing mode”.  Example :  Mov EAX,12345678H Prepared By pdfshare
  • 6. Cont…..  The linear address consists of two components: The segment base address and An effective address.  The effective address is calculated by using four address elements: DISPLACEMENT: An 8-, or 32-bit immediate value BASE: The contents of any general purpose register. It is generally used by compilers to point to the start of the local variable area. INDEX: The contents of any general purpose register except for ESP. The index registers are used to access the elements of an array, or a string of characters. SCALE: The index register's value can be multiplied by a scale factor, either 1, 2, 4 or 8. Scaled index mode is especially useful for accessing arrays or structures. Prepared By pdfshare
  • 7.  The effective address (EA) of an operand is calculated according to the following formula:  EA = Base Register + (Index Register * Scaling) + Displacement. Prepared By pdfshare
  • 9. Direct addressing Mode  The 8/16/32 bit data required to execute an instruction is present in memory location and effective address of this memory location is given directly along with the instruction then it is called “Direct addressing mode”.  Example : Mov AX,[5000H] Prepared By pdfshare
  • 10. Register Indirect addressing Mode  A base register will contain the address of operand  Example: MOV [ECX], EDX  The 8/16/32 bit data required to execute an instruction is present in memory location and effective address of that memory location is present in a 32 bit register and the name of this register is given along with the instruction then it is called “Register Indirect addressing mode”. Prepared By pdfshare
  • 11. Based addressing Mode A BASE register's contents is added to a DISPLACEMENT to form the operands offset. Example: MOV ECX, [EAX+24] Prepared By pdfshare
  • 12. Index addressing Mode  An INDEX register's contents is added to a DISPLACEMENT to form the operands offset. EXAMPLE: ADD EAX, TABLE[ESI]  The 8/16/32 bit data required to execute an instruction is present in memory location and effective address of that memory location is obtained by adding three contents : 1. The 32 bit content of base register 2. The 32 bit content of Index Register 3. Displacement. Prepared By pdfshare
  • 13. Scaled Index addressing Mode  An INDEX register's contents is multiplied by a scaling factor which is added to a DISPLACEMENT to form the operands offset.  Example: MOV EBX, LIST[ESI*4] Prepared By pdfshare
  • 14. Based Index addressing Mode The contents of a BASE register are added to the contents of an INDEX register to form the effective address of an operand. The 8/16/32 bit data required to execute an instruction is present in memory location and effective address of that memory location is obtained by adding two contents : 1. The 32 bit content of base register 2. The 32 bit content of Index Register is called as Based Index addressing Mode.  Example: MOV EAX, [ESI] [EBX] Prepared By pdfshare
  • 15. Based Scaled Index addressing Mode The contents of an INDEX register is multiplied by a SCALING factor and the result is added to the contents of a BASE register to obtain the operands offset. Example: MOV ECX, [EDX*8] [EAX] Prepared By pdfshare
  • 16. Based Index addressing Mode with Displacement The contents of an INDEX Register and a BASE register's contents and a DISPLACEMENT are all summed together to form the operand offset. Example: ADD EDX, [ESI] [EBP+00FFFFF0H] Prepared By pdfshare
  • 17. Based Scaled Index addressing Mode with Displacement The contents of an INDEX register are multiplied by a SCALING factor, the result is added to the contents of a BASE register and a DISPLACEMENT to form the operand's offset. EXAMPLE: MOV EAX, LIST [EDI*4] [EBP+80] Prepared By pdfshare