SlideShare a Scribd company logo
1 of 13
Intel 8085
Microprocessor
Addressing Modes
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:
1. Operation to be performed i.e. Opcode
2. Address of source of data i.e. Operands
3. Address of destination of result.
Definition
 The various ways of specifying operands for an instruction are called the addressing
modes.
 The various addressing modes that are defined in a given instruction set architecture
define how machine language instructions in that architecture identify the operand(s) of
each instruction.
 In any microprocessor instruction, the source and destination operands can be a
 Register
 Memory Location
 8-bit number
The method by which the address of source of data and the address of the destination of the
result is given in the instruction are called the Addressing modes.
8085 uses the following addressing modes:
1. Implied/Implicit Addressing Mode
2. Immediate Addressing Mode
3. Direct Addressing Mode
4. Register Addressing Mode
5. Register Indirect Addressing Mode
Implied/Implicit Addressing Mode
 In implied/implicit addressing mode the operand is hidden and the data to be
operated is available in the instruction itself.
 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.
 Examples:
 CMA (complement accumultor )
 RRC (rotate accumulator A right by one bit)
 RLC (rotate accumulator A left by one bit)
Immediate Addressing Mode
 In this mode, the operand is specified within the instruction itself.
 If the data is 8-bit, then the instruction will be of 2 bytes. The first byte is opcode
followed by an 8-bit data.
 If the data is of 16-bit then the instruction will be of 3 bytes. The first byte is opcode
at memory location N followed by the higher order data byte at memory location
N+1 and lower order data byte at memory location N+2.
 Examples:
 MVI B 45 (move the data 45H immediately to register B)
 LXI H 3050 (load the H-L pair with the operand 3050H immediately)
 JMP address (jump to the operand address immediately)
Direct Addressing Mode
 The data to be operated is available inside a memory location and that memory
location is directly specified as an operand.
 The operand is directly available in the instruction itself.
 Examples:
 LDA 2050 (load the contents of memory location into accumulator A)
 LHLD address (load contents of 16-bit memory location into H-L register pair)
Register Addressing Mode
 In this mode, the operand is in general purpose register.
 The data to be operated is available inside the register(s) and register(s) is(are)
operands. Therefore the operation is performed within various registers of the
microprocessor.
 Examples:
 MOV A, B (move the contents of register B to register A)
 ADD B (add contents of registers A and B and store the result in register A)
 INR A (increment the contents of register A by one)
Register Indirect Addressing Mode
 In this mode, the address of operand is specified by a register pair.
 The data to be operated is available inside a memory location and that memory
location is indirectly specified b a register pair.
 Examples:
 MOV A, M (move the contents of the memory location pointed by the H-L pair to the
accumulator)
 LDAX B (move contains of B-C register to the accumulator)
Data flow between memory and MPU:
 First of all the 16-bit address is placed on the address bus from the program counter.
 Let say the address is 2005H where the data is placed.
 The higher order address i.e. 20H is placed on the address bus A8-A15 while the lower
order address i.e. 05h is placed on the multiplexed address and data bus ADO-AD7.
 The lower order address continues to remain on this address bus so long as ALE
(Address Latch Enable) remains positive. Once ALE goes low it carries data.
 The control unit sends the signal to indicate what type of operation is to be
performed. Since the data is to be read from the memory therefore it sends to enable
the memory chip.
 The byte from the memory location is then placed on the data bus i.e. 4F
saved in location 2005H is placed on the data bus and sent to the
instruction decoder.
 The instruction is decoded and accordingly the task is performed by the
ALU i.e. Arithmetic and logic unit.
8085 Programming Model:
 A programming model is a conceptual representation of a real object and can
be in the form of a text, a drawing or a built structure which gives information
required to write a program.
 It consists of some segments of ALU and the registers. This model includes six
general purpose registers, accumulator, flag register, program counter and
stack pointer.
 This model is not a reflection of physical structure of the microprocessor but
gives all the information that is relevant for writing an assembly language
program.
Addressing modes 8085

More Related Content

What's hot

8085 MICROPROCESSOR ARCHITECTURE AND ITS OPERATIONS
8085 MICROPROCESSOR ARCHITECTURE AND ITS OPERATIONS8085 MICROPROCESSOR ARCHITECTURE AND ITS OPERATIONS
8085 MICROPROCESSOR ARCHITECTURE AND ITS OPERATIONS
RamaPrabha24
 
Instruction set of 8086
Instruction set of 8086Instruction set of 8086
Instruction set of 8086
9840596838
 
8237 dma controller
8237 dma controller8237 dma controller
8237 dma controller
Tech_MX
 

What's hot (20)

8255 PPI
8255 PPI8255 PPI
8255 PPI
 
8085 instruction set
8085 instruction set8085 instruction set
8085 instruction set
 
8085 MICROPROCESSOR ARCHITECTURE AND ITS OPERATIONS
8085 MICROPROCESSOR ARCHITECTURE AND ITS OPERATIONS8085 MICROPROCESSOR ARCHITECTURE AND ITS OPERATIONS
8085 MICROPROCESSOR ARCHITECTURE AND ITS OPERATIONS
 
8051 instruction set
8051 instruction set8051 instruction set
8051 instruction set
 
8051 Addressing Modes
8051 Addressing Modes8051 Addressing Modes
8051 Addressing Modes
 
Instruction Set of 8051 Microcontroller
Instruction Set of 8051 MicrocontrollerInstruction Set of 8051 Microcontroller
Instruction Set of 8051 Microcontroller
 
Programming with 8085
Programming with 8085Programming with 8085
Programming with 8085
 
8085 interfacing with memory chips
8085 interfacing with memory chips8085 interfacing with memory chips
8085 interfacing with memory chips
 
Addressing modes of 8085
Addressing modes of 8085Addressing modes of 8085
Addressing modes of 8085
 
Instruction set of 8086
Instruction set of 8086Instruction set of 8086
Instruction set of 8086
 
8086 micro processor
8086 micro processor8086 micro processor
8086 micro processor
 
Assembly Language Programming Of 8085
Assembly Language Programming Of 8085Assembly Language Programming Of 8085
Assembly Language Programming Of 8085
 
Instruction set of 8085
Instruction set of 8085Instruction set of 8085
Instruction set of 8085
 
Programmable peripheral interface 8255
Programmable peripheral interface 8255Programmable peripheral interface 8255
Programmable peripheral interface 8255
 
Microprocessor 8085 complete
Microprocessor 8085 completeMicroprocessor 8085 complete
Microprocessor 8085 complete
 
8237 dma controller
8237 dma controller8237 dma controller
8237 dma controller
 
ADDRESSING MODES
ADDRESSING MODESADDRESSING MODES
ADDRESSING MODES
 
Addressing modes of 8051
Addressing modes of 8051Addressing modes of 8051
Addressing modes of 8051
 
Interrupts of 8086
Interrupts of 8086Interrupts of 8086
Interrupts of 8086
 
Interrupts and types of interrupts
Interrupts and types of interruptsInterrupts and types of interrupts
Interrupts and types of interrupts
 

Similar to Addressing modes 8085

Memory intrface and addrs modes
Memory intrface and addrs modesMemory intrface and addrs modes
Memory intrface and addrs modes
balbirvirdi
 

Similar to Addressing modes 8085 (20)

3-addressingmodes-181203034235.pptx
3-addressingmodes-181203034235.pptx3-addressingmodes-181203034235.pptx
3-addressingmodes-181203034235.pptx
 
Pdemodule 4
Pdemodule 4Pdemodule 4
Pdemodule 4
 
Unit 2 Instruction set.pdf
Unit 2 Instruction set.pdfUnit 2 Instruction set.pdf
Unit 2 Instruction set.pdf
 
8051 instruction set
8051 instruction set8051 instruction set
8051 instruction set
 
Microprocessor Basics CH-3
Microprocessor Basics CH-3Microprocessor Basics CH-3
Microprocessor Basics CH-3
 
MPMC UNIT-2.pdf
MPMC UNIT-2.pdfMPMC UNIT-2.pdf
MPMC UNIT-2.pdf
 
instruction format and addressing modes
instruction format and addressing modesinstruction format and addressing modes
instruction format and addressing modes
 
Addressing Modes
Addressing ModesAddressing Modes
Addressing Modes
 
Memory intrface and addrs modes
Memory intrface and addrs modesMemory intrface and addrs modes
Memory intrface and addrs modes
 
Microprocessor and Microcontroller.pptx
Microprocessor and Microcontroller.pptxMicroprocessor and Microcontroller.pptx
Microprocessor and Microcontroller.pptx
 
8085_Microprocessor(simar).ppt
8085_Microprocessor(simar).ppt8085_Microprocessor(simar).ppt
8085_Microprocessor(simar).ppt
 
Z 80 processors (History-Products)
Z 80 processors (History-Products)Z 80 processors (History-Products)
Z 80 processors (History-Products)
 
Microprocessor Basics 8085 Ch-1
Microprocessor Basics 8085 Ch-1Microprocessor Basics 8085 Ch-1
Microprocessor Basics 8085 Ch-1
 
timing_diagram_of_8085.pptx
timing_diagram_of_8085.pptxtiming_diagram_of_8085.pptx
timing_diagram_of_8085.pptx
 
8085 Architecture
8085 Architecture8085 Architecture
8085 Architecture
 
8085 Architecture
8085 Architecture8085 Architecture
8085 Architecture
 
Chapter 5
Chapter 5Chapter 5
Chapter 5
 
8085-instruction.ppt
8085-instruction.ppt8085-instruction.ppt
8085-instruction.ppt
 
Chapter 7 - Programming Techniques with Additional Instructions
Chapter 7 - Programming Techniques with Additional InstructionsChapter 7 - Programming Techniques with Additional Instructions
Chapter 7 - Programming Techniques with Additional Instructions
 
Architecture of 8085
Architecture of 8085Architecture of 8085
Architecture of 8085
 

More from ShivamSood22 (8)

8155 PPI
8155 PPI8155 PPI
8155 PPI
 
Interrupts of 8085
Interrupts of 8085Interrupts of 8085
Interrupts of 8085
 
8259 Interrupt Controller
8259 Interrupt Controller8259 Interrupt Controller
8259 Interrupt Controller
 
8251 USART
8251 USART8251 USART
8251 USART
 
Data transfer techniques 8085
Data transfer techniques 8085Data transfer techniques 8085
Data transfer techniques 8085
 
State transition diagram 8085
State transition diagram 8085State transition diagram 8085
State transition diagram 8085
 
Pin diagram of 8085
Pin diagram of 8085Pin diagram of 8085
Pin diagram of 8085
 
Endianness 8085
Endianness 8085Endianness 8085
Endianness 8085
 

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
 
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
 
Hospital management system project report.pdf
Hospital management system project report.pdfHospital management system project report.pdf
Hospital management system project report.pdf
Kamal Acharya
 
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
 

Recently uploaded (20)

💚Trustworthy Call Girls Pune Call Girls Service Just Call 🍑👄6378878445 🍑👄 Top...
💚Trustworthy Call Girls Pune Call Girls Service Just Call 🍑👄6378878445 🍑👄 Top...💚Trustworthy Call Girls Pune Call Girls Service Just Call 🍑👄6378878445 🍑👄 Top...
💚Trustworthy Call Girls Pune Call Girls Service Just Call 🍑👄6378878445 🍑👄 Top...
 
AIRCANVAS[1].pdf mini project for btech students
AIRCANVAS[1].pdf mini project for btech studentsAIRCANVAS[1].pdf mini project for btech students
AIRCANVAS[1].pdf mini project for btech students
 
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
 
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
 
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
 
Jaipur ❤CALL GIRL 0000000000❤CALL GIRLS IN Jaipur ESCORT SERVICE❤CALL GIRL IN...
Jaipur ❤CALL GIRL 0000000000❤CALL GIRLS IN Jaipur ESCORT SERVICE❤CALL GIRL IN...Jaipur ❤CALL GIRL 0000000000❤CALL GIRLS IN Jaipur ESCORT SERVICE❤CALL GIRL IN...
Jaipur ❤CALL GIRL 0000000000❤CALL GIRLS IN Jaipur ESCORT SERVICE❤CALL GIRL IN...
 
UNIT 4 PTRP final Convergence in probability.pptx
UNIT 4 PTRP final Convergence in probability.pptxUNIT 4 PTRP final Convergence in probability.pptx
UNIT 4 PTRP final Convergence in probability.pptx
 
457503602-5-Gas-Well-Testing-and-Analysis-pptx.pptx
457503602-5-Gas-Well-Testing-and-Analysis-pptx.pptx457503602-5-Gas-Well-Testing-and-Analysis-pptx.pptx
457503602-5-Gas-Well-Testing-and-Analysis-pptx.pptx
 
Computer Graphics Introduction To Curves
Computer Graphics Introduction To CurvesComputer Graphics Introduction To Curves
Computer Graphics Introduction To Curves
 
School management system project Report.pdf
School management system project Report.pdfSchool management system project Report.pdf
School management system project Report.pdf
 
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
 
Hospital management system project report.pdf
Hospital management system project report.pdfHospital management system project report.pdf
Hospital management system project report.pdf
 
HOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptx
HOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptxHOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptx
HOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptx
 
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
 
Thermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.pptThermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.ppt
 
Basic Electronics for diploma students as per technical education Kerala Syll...
Basic Electronics for diploma students as per technical education Kerala Syll...Basic Electronics for diploma students as per technical education Kerala Syll...
Basic Electronics for diploma students as per technical education Kerala Syll...
 
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
 
Introduction to Data Visualization,Matplotlib.pdf
Introduction to Data Visualization,Matplotlib.pdfIntroduction to Data Visualization,Matplotlib.pdf
Introduction to Data Visualization,Matplotlib.pdf
 
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
 
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
 

Addressing modes 8085

  • 2. 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: 1. Operation to be performed i.e. Opcode 2. Address of source of data i.e. Operands 3. Address of destination of result.
  • 3. Definition  The various ways of specifying operands for an instruction are called the addressing modes.  The various addressing modes that are defined in a given instruction set architecture define how machine language instructions in that architecture identify the operand(s) of each instruction.  In any microprocessor instruction, the source and destination operands can be a  Register  Memory Location  8-bit number The method by which the address of source of data and the address of the destination of the result is given in the instruction are called the Addressing modes.
  • 4. 8085 uses the following addressing modes: 1. Implied/Implicit Addressing Mode 2. Immediate Addressing Mode 3. Direct Addressing Mode 4. Register Addressing Mode 5. Register Indirect Addressing Mode
  • 5. Implied/Implicit Addressing Mode  In implied/implicit addressing mode the operand is hidden and the data to be operated is available in the instruction itself.  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.  Examples:  CMA (complement accumultor )  RRC (rotate accumulator A right by one bit)  RLC (rotate accumulator A left by one bit)
  • 6. Immediate Addressing Mode  In this mode, the operand is specified within the instruction itself.  If the data is 8-bit, then the instruction will be of 2 bytes. The first byte is opcode followed by an 8-bit data.  If the data is of 16-bit then the instruction will be of 3 bytes. The first byte is opcode at memory location N followed by the higher order data byte at memory location N+1 and lower order data byte at memory location N+2.  Examples:  MVI B 45 (move the data 45H immediately to register B)  LXI H 3050 (load the H-L pair with the operand 3050H immediately)  JMP address (jump to the operand address immediately)
  • 7. Direct Addressing Mode  The data to be operated is available inside a memory location and that memory location is directly specified as an operand.  The operand is directly available in the instruction itself.  Examples:  LDA 2050 (load the contents of memory location into accumulator A)  LHLD address (load contents of 16-bit memory location into H-L register pair)
  • 8. Register Addressing Mode  In this mode, the operand is in general purpose register.  The data to be operated is available inside the register(s) and register(s) is(are) operands. Therefore the operation is performed within various registers of the microprocessor.  Examples:  MOV A, B (move the contents of register B to register A)  ADD B (add contents of registers A and B and store the result in register A)  INR A (increment the contents of register A by one)
  • 9. Register Indirect Addressing Mode  In this mode, the address of operand is specified by a register pair.  The data to be operated is available inside a memory location and that memory location is indirectly specified b a register pair.  Examples:  MOV A, M (move the contents of the memory location pointed by the H-L pair to the accumulator)  LDAX B (move contains of B-C register to the accumulator)
  • 10. Data flow between memory and MPU:  First of all the 16-bit address is placed on the address bus from the program counter.  Let say the address is 2005H where the data is placed.  The higher order address i.e. 20H is placed on the address bus A8-A15 while the lower order address i.e. 05h is placed on the multiplexed address and data bus ADO-AD7.  The lower order address continues to remain on this address bus so long as ALE (Address Latch Enable) remains positive. Once ALE goes low it carries data.  The control unit sends the signal to indicate what type of operation is to be performed. Since the data is to be read from the memory therefore it sends to enable the memory chip.
  • 11.  The byte from the memory location is then placed on the data bus i.e. 4F saved in location 2005H is placed on the data bus and sent to the instruction decoder.  The instruction is decoded and accordingly the task is performed by the ALU i.e. Arithmetic and logic unit.
  • 12. 8085 Programming Model:  A programming model is a conceptual representation of a real object and can be in the form of a text, a drawing or a built structure which gives information required to write a program.  It consists of some segments of ALU and the registers. This model includes six general purpose registers, accumulator, flag register, program counter and stack pointer.  This model is not a reflection of physical structure of the microprocessor but gives all the information that is relevant for writing an assembly language program.