SlideShare a Scribd company logo
1 of 17
ADDRESSING MODES OF
8085
www.eazynotes.co
m
Addressing Modes of 8085
 To perform any operation, we have to give the
corresponding instructions to the microprocessor.
 In each instruction, programmer has to specify 3
things:
 Operation to be performed.
 Address of source of data.
 Address of destination of result.
www.eazynotes.co
m
Addressing Modes of 8085
 The method by which the address of
source of data or the address of
destination of result is given in the
instruction is called Addressing Modes.
 The term addressing mode refers to the
way in which the operand of the instruction
is specified.
www.eazynotes.co
m
Why use addressing modes
in 8085 microprocessor ?
 Flexibility: Addressing modes provide a flexible
way to access data and instructions in memory.
depending on the type of data being accessed, the
size of the data, and other factors.
 Memory optimization: Addressing modes can help
to optimize the use of memory resources by
allowing data and instructions to be accessed in the
most efficient way possible.
www.eazynotes.co
m
 Performance optimization: Addressing modes
can also help to optimize the performance of the
microprocessor by reducing the number of memory
accesses needed to fetch data or instructions.
 Reduced code size: Addressing modes can help
to reduce the size of code needed to perform a
particular task. By using addressing modes
programmers can write more compact and efficient
code.
www.eazynotes.co
m
Types of Addressing Modes
1. Direct Addressing Mode
2. Register Addressing Mode
3. Register Indirect Addressing Mode
4. Immediate Addressing Mode
5. Implicit Addressing Mode
www.eazynotes.co
m
Direct Addressing Mode
 In this mode, the address of the
operand is given in the instruction itself.
 LDA is the operation.
 2500 H is the address of source.
 Accumulator is the destination.
LDA 2500 H Load the contents of memory
location 2500 H in accumulator.
www.eazynotes.co
m
 Direct addressing: Direct addressing is used
when the address of the operand is directly
specified in the instruction. This addressing
mode is used for simple operations where the
operand is stored in a specific memory
location, and the address does not need to be
calculated or manipulated in any way.
www.eazynotes.co
m
Register Addressing Mode
 In this mode, the operand is in general
purpose register.
 MOV is the operation.
 B is the source of data.
 A is the destination.
MOV A, B Move the contents of register B to A.
www.eazynotes.co
m
 Register addressing: Register addressing
is used when the operand is stored in a
register, rather than in memory. This
addressing mode is useful for performing
fast arithmetic or logic operations on small
amounts of data.
www.eazynotes.co
m
Register Indirect Addressing
Mode
 In this mode, the address of operand is
specified by a register pair.
 MOV is the operation.
 M is the memory location specified by H-L
register pair.
 A is the destination.
MOV A, M Move data from memory location
specified by H-L pair to accumulator.
www.eazynotes.co
m
Immediate Addressing Mode
 In this mode, the operand is specified
within the instruction itself.
 MVI is the operation.
 05 H is the immediate data (source).
 A is the destination.
MVI A, 05 H Move 05 H in accumulator.
www.eazynotes.co
m
 Immediate addressing: Immediate
addressing is used when the operand is
specified directly in the instruction, rather
than being stored in memory. This
addressing mode is useful for performing
simple arithmetic or logic operations on
constants or literals.
www.eazynotes.co
m
Implicit Addressing Mode
 If address of source of data as well as address of
destination of result is fixed, then there is no need to
give any operand along with the instruction.
 CMA is the operation.
 A is the source.
 A is the destination.
CMA Complement accumulator.
www.eazynotes.co
m
Challenges associated with
addressing modes in the 8085
microprocessor
 Limited addressing range
 Complex instruction set
 Limited addressing modes
 Stack management
 Performance considerations
 Memory management
www.eazynotes.co
m
Advantages of Addressing Modes
in 8085 Microprocessor
 Versatility
 Efficient memory usage
 Easy to use
 Improved performance
www.eazynotes.co
m
Disadvantages of Addressing
Modes in 8085 Microprocessor
 Complexity
 Debugging difficulties
 Limitations

More Related Content

Similar to Microprocessor - unit 2-Addressing Modes of 8085

Memory intrface and addrs modes
Memory intrface and addrs modesMemory intrface and addrs modes
Memory intrface and addrs modes
balbirvirdi
 
Addressing mode
Addressing modeAddressing mode
Addressing mode
ilakkiya
 
microprocessor and microcontroller notes ppt
microprocessor and microcontroller notes pptmicroprocessor and microcontroller notes ppt
microprocessor and microcontroller notes ppt
mananjain543
 
pptx_20221115_180411_0000.pptx
pptx_20221115_180411_0000.pptxpptx_20221115_180411_0000.pptx
pptx_20221115_180411_0000.pptx
AManiMaran1
 
Addressing mode & data transfer instruction of 8085
Addressing mode & data transfer instruction of 8085Addressing mode & data transfer instruction of 8085
Addressing mode & data transfer instruction of 8085
Chinmayee samal
 

Similar to Microprocessor - unit 2-Addressing Modes of 8085 (20)

8085 addressing modes
8085 addressing modes8085 addressing modes
8085 addressing modes
 
Cao
CaoCao
Cao
 
computer networking power point final.pptx
computer networking power point final.pptxcomputer networking power point final.pptx
computer networking power point final.pptx
 
Addresing mode and timing diagram
Addresing mode and timing diagramAddresing mode and timing diagram
Addresing mode and timing diagram
 
Lect14 organization
Lect14 organizationLect14 organization
Lect14 organization
 
Addressing modes
Addressing modesAddressing modes
Addressing modes
 
CS304PC:Computer Organization and Architecture Session 13 Addressing modes.pptx
CS304PC:Computer Organization and Architecture  Session 13 Addressing modes.pptxCS304PC:Computer Organization and Architecture  Session 13 Addressing modes.pptx
CS304PC:Computer Organization and Architecture Session 13 Addressing modes.pptx
 
Addressing modes
Addressing modesAddressing modes
Addressing modes
 
3. Addressing Modes in 8085 microprocessor.pptx
3. Addressing Modes in 8085 microprocessor.pptx3. Addressing Modes in 8085 microprocessor.pptx
3. Addressing Modes in 8085 microprocessor.pptx
 
Memory intrface and addrs modes
Memory intrface and addrs modesMemory intrface and addrs modes
Memory intrface and addrs modes
 
Addressing modes Breifly
Addressing modes BreiflyAddressing modes Breifly
Addressing modes Breifly
 
Addressing mode
Addressing modeAddressing mode
Addressing mode
 
Microprocessor and Microcontroller.pptx
Microprocessor and Microcontroller.pptxMicroprocessor and Microcontroller.pptx
Microprocessor and Microcontroller.pptx
 
Addressing modes
Addressing modesAddressing modes
Addressing modes
 
addressingmodes8051.ppt
addressingmodes8051.pptaddressingmodes8051.ppt
addressingmodes8051.ppt
 
microprocessor and microcontroller notes ppt
microprocessor and microcontroller notes pptmicroprocessor and microcontroller notes ppt
microprocessor and microcontroller notes ppt
 
pptx_20221115_180411_0000.pptx
pptx_20221115_180411_0000.pptxpptx_20221115_180411_0000.pptx
pptx_20221115_180411_0000.pptx
 
Addressing Modes
Addressing ModesAddressing Modes
Addressing Modes
 
Addressing mode & data transfer instruction of 8085
Addressing mode & data transfer instruction of 8085Addressing mode & data transfer instruction of 8085
Addressing mode & data transfer instruction of 8085
 
ADDRESSING MODES.pptx
ADDRESSING MODES.pptxADDRESSING MODES.pptx
ADDRESSING MODES.pptx
 

Recently uploaded

Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7
Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7
Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7
9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf
1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf
1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf
AldoGarca30
 
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
ssuser89054b
 
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak HamilCara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Kandungan 087776558899
 
Verification of thevenin's theorem for BEEE Lab (1).pptx
Verification of thevenin's theorem for BEEE Lab (1).pptxVerification of thevenin's theorem for BEEE Lab (1).pptx
Verification of thevenin's theorem for BEEE Lab (1).pptx
chumtiyababu
 
Integrated Test Rig For HTFE-25 - Neometrix
Integrated Test Rig For HTFE-25 - NeometrixIntegrated Test Rig For HTFE-25 - Neometrix
Integrated Test Rig For HTFE-25 - Neometrix
Neometrix_Engineering_Pvt_Ltd
 

Recently uploaded (20)

Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7
Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7
Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7
 
1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf
1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf
1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf
 
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
 
PE 459 LECTURE 2- natural gas basic concepts and properties
PE 459 LECTURE 2- natural gas basic concepts and propertiesPE 459 LECTURE 2- natural gas basic concepts and properties
PE 459 LECTURE 2- natural gas basic concepts and properties
 
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak HamilCara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
 
HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKAR
HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKARHAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKAR
HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKAR
 
Thermal Engineering Unit - I & II . ppt
Thermal Engineering  Unit - I & II . pptThermal Engineering  Unit - I & II . ppt
Thermal Engineering Unit - I & II . ppt
 
Orlando’s Arnold Palmer Hospital Layout Strategy-1.pptx
Orlando’s Arnold Palmer Hospital Layout Strategy-1.pptxOrlando’s Arnold Palmer Hospital Layout Strategy-1.pptx
Orlando’s Arnold Palmer Hospital Layout Strategy-1.pptx
 
Computer Networks Basics of Network Devices
Computer Networks  Basics of Network DevicesComputer Networks  Basics of Network Devices
Computer Networks Basics of Network Devices
 
Wadi Rum luxhotel lodge Analysis case study.pptx
Wadi Rum luxhotel lodge Analysis case study.pptxWadi Rum luxhotel lodge Analysis case study.pptx
Wadi Rum luxhotel lodge Analysis case study.pptx
 
Bhubaneswar🌹Call Girls Bhubaneswar ❤Komal 9777949614 💟 Full Trusted CALL GIRL...
Bhubaneswar🌹Call Girls Bhubaneswar ❤Komal 9777949614 💟 Full Trusted CALL GIRL...Bhubaneswar🌹Call Girls Bhubaneswar ❤Komal 9777949614 💟 Full Trusted CALL GIRL...
Bhubaneswar🌹Call Girls Bhubaneswar ❤Komal 9777949614 💟 Full Trusted CALL GIRL...
 
Engineering Drawing focus on projection of planes
Engineering Drawing focus on projection of planesEngineering Drawing focus on projection of planes
Engineering Drawing focus on projection of planes
 
Work-Permit-Receiver-in-Saudi-Aramco.pptx
Work-Permit-Receiver-in-Saudi-Aramco.pptxWork-Permit-Receiver-in-Saudi-Aramco.pptx
Work-Permit-Receiver-in-Saudi-Aramco.pptx
 
Verification of thevenin's theorem for BEEE Lab (1).pptx
Verification of thevenin's theorem for BEEE Lab (1).pptxVerification of thevenin's theorem for BEEE Lab (1).pptx
Verification of thevenin's theorem for BEEE Lab (1).pptx
 
COST-EFFETIVE and Energy Efficient BUILDINGS ptx
COST-EFFETIVE  and Energy Efficient BUILDINGS ptxCOST-EFFETIVE  and Energy Efficient BUILDINGS ptx
COST-EFFETIVE and Energy Efficient BUILDINGS ptx
 
Integrated Test Rig For HTFE-25 - Neometrix
Integrated Test Rig For HTFE-25 - NeometrixIntegrated Test Rig For HTFE-25 - Neometrix
Integrated Test Rig For HTFE-25 - Neometrix
 
Tamil Call Girls Bhayandar WhatsApp +91-9930687706, Best Service
Tamil Call Girls Bhayandar WhatsApp +91-9930687706, Best ServiceTamil Call Girls Bhayandar WhatsApp +91-9930687706, Best Service
Tamil Call Girls Bhayandar WhatsApp +91-9930687706, Best Service
 
GEAR TRAIN- BASIC CONCEPTS AND WORKING PRINCIPLE
GEAR TRAIN- BASIC CONCEPTS AND WORKING PRINCIPLEGEAR TRAIN- BASIC CONCEPTS AND WORKING PRINCIPLE
GEAR TRAIN- BASIC CONCEPTS AND WORKING PRINCIPLE
 
FEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced Loads
FEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced LoadsFEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced Loads
FEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced Loads
 
A CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptx
A CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptxA CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptx
A CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptx
 

Microprocessor - unit 2-Addressing Modes of 8085

  • 2. www.eazynotes.co m Addressing Modes of 8085  To perform any operation, we have to give the corresponding instructions to the microprocessor.  In each instruction, programmer has to specify 3 things:  Operation to be performed.  Address of source of data.  Address of destination of result.
  • 3. www.eazynotes.co m Addressing Modes of 8085  The method by which the address of source of data or the address of destination of result is given in the instruction is called Addressing Modes.  The term addressing mode refers to the way in which the operand of the instruction is specified.
  • 4. www.eazynotes.co m Why use addressing modes in 8085 microprocessor ?  Flexibility: Addressing modes provide a flexible way to access data and instructions in memory. depending on the type of data being accessed, the size of the data, and other factors.  Memory optimization: Addressing modes can help to optimize the use of memory resources by allowing data and instructions to be accessed in the most efficient way possible.
  • 5. www.eazynotes.co m  Performance optimization: Addressing modes can also help to optimize the performance of the microprocessor by reducing the number of memory accesses needed to fetch data or instructions.  Reduced code size: Addressing modes can help to reduce the size of code needed to perform a particular task. By using addressing modes programmers can write more compact and efficient code.
  • 6. www.eazynotes.co m Types of Addressing Modes 1. Direct Addressing Mode 2. Register Addressing Mode 3. Register Indirect Addressing Mode 4. Immediate Addressing Mode 5. Implicit Addressing Mode
  • 7. www.eazynotes.co m Direct Addressing Mode  In this mode, the address of the operand is given in the instruction itself.  LDA is the operation.  2500 H is the address of source.  Accumulator is the destination. LDA 2500 H Load the contents of memory location 2500 H in accumulator.
  • 8. www.eazynotes.co m  Direct addressing: Direct addressing is used when the address of the operand is directly specified in the instruction. This addressing mode is used for simple operations where the operand is stored in a specific memory location, and the address does not need to be calculated or manipulated in any way.
  • 9. www.eazynotes.co m Register Addressing Mode  In this mode, the operand is in general purpose register.  MOV is the operation.  B is the source of data.  A is the destination. MOV A, B Move the contents of register B to A.
  • 10. www.eazynotes.co m  Register addressing: Register addressing is used when the operand is stored in a register, rather than in memory. This addressing mode is useful for performing fast arithmetic or logic operations on small amounts of data.
  • 11. www.eazynotes.co m Register Indirect Addressing Mode  In this mode, the address of operand is specified by a register pair.  MOV is the operation.  M is the memory location specified by H-L register pair.  A is the destination. MOV A, M Move data from memory location specified by H-L pair to accumulator.
  • 12. www.eazynotes.co m Immediate Addressing Mode  In this mode, the operand is specified within the instruction itself.  MVI is the operation.  05 H is the immediate data (source).  A is the destination. MVI A, 05 H Move 05 H in accumulator.
  • 13. www.eazynotes.co m  Immediate addressing: Immediate addressing is used when the operand is specified directly in the instruction, rather than being stored in memory. This addressing mode is useful for performing simple arithmetic or logic operations on constants or literals.
  • 14. www.eazynotes.co m Implicit Addressing Mode  If address of source of data as well as address of destination of result is fixed, then there is no need to give any operand along with the instruction.  CMA is the operation.  A is the source.  A is the destination. CMA Complement accumulator.
  • 15. www.eazynotes.co m Challenges associated with addressing modes in the 8085 microprocessor  Limited addressing range  Complex instruction set  Limited addressing modes  Stack management  Performance considerations  Memory management
  • 16. www.eazynotes.co m Advantages of Addressing Modes in 8085 Microprocessor  Versatility  Efficient memory usage  Easy to use  Improved performance
  • 17. www.eazynotes.co m Disadvantages of Addressing Modes in 8085 Microprocessor  Complexity  Debugging difficulties  Limitations