SlideShare a Scribd company logo
8085 INSTRUCTION SET
• Every instruction of a program has to operate on a data. The method of specifying the data to be operated by the instruction is called
Addressing.
• An addressing mode in a microprocessor defines the way in which the operand (data) is specified for an instruction. It determines how
the data is accessed from memory or registers and how it is operated upon
• The various addressing modes allow for flexibility in how instructions interact with data, making it possible to optimize performance,
minimize memory usage, and reduce code complexity.
• In 8085 Microprocessor, there are 5 types of Addressing Modes
1. Immediate Addressing Mode
2. Direct Addressing Mode
3. Register Indirect Addressing Mode
4. Implied/Implicit Addressing Mode
5. Register Addressing Mode
ADDRESSING MODES
L-3microproceessors and microcontrollers.pdf
L-3microproceessors and microcontrollers.pdf
• In immediate addressing mode, the data is specified in the instruction itself. The data will be a part of the program instruction.
• Specifically, the source operand is always data.
• If the data is 8-bit, then the instruction will be of 2 bytes, if the data is of 16-bit then the instruction will be of 4 bytes.
• Examples:
• MVI B 45H (move the data 45H immediately to register B)
• LXI H 3050H (load the H-L pair with the operand 3050H immediately)
• JMP address (jump to the operand address immediately)
• MVI B, 3EH - Move the data 3EH given in the instruction to B register
Immediate Addressing Mode
Direct Addressing Mode
• In this addressing mode, the program instructions and data can be stored in different memory
• The data to be operated is available inside a memory location and that memory location is directly specified as an operand.
• Hence, the operand is directly available in the instruction itself (the address of the data is specified in the instruction).
• 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)
• IN 35 (read the data from port whose address is 35)
• LDA 1050H - Load the data available in memory location 1050H in to accumulator
• In register indirect addressing mode, the instruction specifies the name of the register in which the address of the data is available.
• Here the data (to be operated) is available inside a memory and the address (memory location) is indirectly specified by 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 contents of B-C register to the accumulator)
• STAX B (store accumulator contents in memory pointed by register pair B-C)
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.
• Examples:
• CMA (finds and stores the 1’s complement of the contents of accumulator A in A)
• RRC (rotate accumulator A right by one bit)
• RLC (rotate accumulator A left by one bit)
• In Register Addressing Mode, 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.
• The register addressing mode is used for instructions that manipulate the contents of the registers.
• Examples:
• MOV A, B (move the contents of register B to register A)
• ADD B (add the data in register B to the accumulator and store the result in accumulator)
• INR A (increment the contents of register A by one)
Register Addressing Mode
• A binary command that is used to perform a function in the microprocessor over provided data is known as instruction.
• A set of instructions is known as an instruction set that decides the microprocessor function.
• Every instruction includes two parts like Opcode & the Operand. Opcode is used to specify the function to be executed & operand gives
the data to be functioned on.
• The programmer writes a program in assembly language using these instructions.
• The 8085-instruction set can be classified into the following five functional headings
INSTRUCTION SET
• These instructions move data between registers, or between memory and registers.
• These instructions copy data from source to destination.
• While copying, the contents of source are not modified/altered. Hence the data transfer is copying operation.
Data Transfer Instructions
L-3microproceessors and microcontrollers.pdf
L-3microproceessors and microcontrollers.pdf
• These instructions perform arithmetic operations such as addition, subtraction, increment, and decrement
• The flag conditions are altered after execution of an instruction in this group.
Arithmetic Instructions
L-3microproceessors and microcontrollers.pdf
L-3microproceessors and microcontrollers.pdf
• These instructions perform various logical operations with the contents of the accumulator.
• Logical operations like AND, OR, EXCLUSIVE-OR, complement, compare and rotate instructions are grouped under this heading. The
flag conditions are altered after execution of an instruction in this group
Logical Instructions
L-3microproceessors and microcontrollers.pdf
L-3microproceessors and microcontrollers.pdf
• This group of instructions alters the sequence of program execution either conditionally or unconditionally.
• The instructions that are used to transfer the program control from one memory location to another memory location are grouped under
this heading.
Branching Instructions
• These instructions control machine functions such as Halt, Interrupt, or do nothing
Stack, I/O, and Machine Control Instructions
These instructions control machine functions such as Halt, Interrupt, or do nothing
Stack, I/O, and Machine Control Instructions
L-3microproceessors and microcontrollers.pdf
L-3microproceessors and microcontrollers.pdf
L-3microproceessors and microcontrollers.pdf

More Related Content

PPTX
3. Addressing Modes in 8085 microprocessor.pptx
PPTX
instruction format and addressing modes
PPTX
Lecture 10
PPTX
Unit-1_Processor_Basic Cpu_Organization.pptx
PPTX
Expanation about Addressing Mode of 8051
PPTX
Microprocessor and Microcontroller.pptx
PPTX
Addressing mode & data transfer instruction of 8085
PPTX
addressing modes of microcontrooller 8051
3. Addressing Modes in 8085 microprocessor.pptx
instruction format and addressing modes
Lecture 10
Unit-1_Processor_Basic Cpu_Organization.pptx
Expanation about Addressing Mode of 8051
Microprocessor and Microcontroller.pptx
Addressing mode & data transfer instruction of 8085
addressing modes of microcontrooller 8051

Similar to L-3microproceessors and microcontrollers.pdf (20)

PPTX
Addressing modes of 8085
PPT
COA Chapter 3 final edited*Minimum 40 characters required.ppt
PPTX
Arithmetic & Logic Unit
PPTX
instruction sets (1).pptx
PPTX
UNIT 1.pptx
PDF
8086 Microprocessors and Microcontrollers
PPT
PDF
8085 instructions and addressing modes
PDF
MPMC UNIT-2.pdf
PPTX
Micro-Processor and Micro-Controller subject
PDF
VTU 4th Semester ECE dept Microcontroller lecture slides module 2
PPTX
COA SEMINAfrdreewqfeeerttfwsreeeeewwR.pptx
PPTX
lec3-8051microcontrollerarchitecture-230130044236-5c11a082.pptx
PPTX
module-3.pptx
PPTX
Instruction set of 8085 microprocessor
PPTX
UNIT 1.pptx
PPT
Module-02 Instruction Set in 8051 and their usage
PPS
Addressing modes of 8085
PPTX
co-6.pptx mca ist sem computer organization
PPTX
micro chapter 3jjgffffyeyhhuyerfftfgggffgjj
Addressing modes of 8085
COA Chapter 3 final edited*Minimum 40 characters required.ppt
Arithmetic & Logic Unit
instruction sets (1).pptx
UNIT 1.pptx
8086 Microprocessors and Microcontrollers
8085 instructions and addressing modes
MPMC UNIT-2.pdf
Micro-Processor and Micro-Controller subject
VTU 4th Semester ECE dept Microcontroller lecture slides module 2
COA SEMINAfrdreewqfeeerttfwsreeeeewwR.pptx
lec3-8051microcontrollerarchitecture-230130044236-5c11a082.pptx
module-3.pptx
Instruction set of 8085 microprocessor
UNIT 1.pptx
Module-02 Instruction Set in 8051 and their usage
Addressing modes of 8085
co-6.pptx mca ist sem computer organization
micro chapter 3jjgffffyeyhhuyerfftfgggffgjj
Ad

Recently uploaded (20)

PDF
Enhancing Cyber Defense Against Zero-Day Attacks using Ensemble Neural Networks
PPTX
CH1 Production IntroductoryConcepts.pptx
PPTX
MET 305 2019 SCHEME MODULE 2 COMPLETE.pptx
PDF
Digital Logic Computer Design lecture notes
PPTX
MCN 401 KTU-2019-PPE KITS-MODULE 2.pptx
PDF
Mohammad Mahdi Farshadian CV - Prospective PhD Student 2026
PPTX
KTU 2019 -S7-MCN 401 MODULE 2-VINAY.pptx
PDF
R24 SURVEYING LAB MANUAL for civil enggi
PDF
Operating System & Kernel Study Guide-1 - converted.pdf
PDF
keyrequirementskkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk
PDF
Automation-in-Manufacturing-Chapter-Introduction.pdf
PPTX
Lecture Notes Electrical Wiring System Components
PPTX
CYBER-CRIMES AND SECURITY A guide to understanding
PPTX
Foundation to blockchain - A guide to Blockchain Tech
PPT
Project quality management in manufacturing
PDF
Model Code of Practice - Construction Work - 21102022 .pdf
DOCX
573137875-Attendance-Management-System-original
PDF
Embodied AI: Ushering in the Next Era of Intelligent Systems
PPT
Mechanical Engineering MATERIALS Selection
PPTX
UNIT 4 Total Quality Management .pptx
Enhancing Cyber Defense Against Zero-Day Attacks using Ensemble Neural Networks
CH1 Production IntroductoryConcepts.pptx
MET 305 2019 SCHEME MODULE 2 COMPLETE.pptx
Digital Logic Computer Design lecture notes
MCN 401 KTU-2019-PPE KITS-MODULE 2.pptx
Mohammad Mahdi Farshadian CV - Prospective PhD Student 2026
KTU 2019 -S7-MCN 401 MODULE 2-VINAY.pptx
R24 SURVEYING LAB MANUAL for civil enggi
Operating System & Kernel Study Guide-1 - converted.pdf
keyrequirementskkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk
Automation-in-Manufacturing-Chapter-Introduction.pdf
Lecture Notes Electrical Wiring System Components
CYBER-CRIMES AND SECURITY A guide to understanding
Foundation to blockchain - A guide to Blockchain Tech
Project quality management in manufacturing
Model Code of Practice - Construction Work - 21102022 .pdf
573137875-Attendance-Management-System-original
Embodied AI: Ushering in the Next Era of Intelligent Systems
Mechanical Engineering MATERIALS Selection
UNIT 4 Total Quality Management .pptx
Ad

L-3microproceessors and microcontrollers.pdf

  • 2. • Every instruction of a program has to operate on a data. The method of specifying the data to be operated by the instruction is called Addressing. • An addressing mode in a microprocessor defines the way in which the operand (data) is specified for an instruction. It determines how the data is accessed from memory or registers and how it is operated upon • The various addressing modes allow for flexibility in how instructions interact with data, making it possible to optimize performance, minimize memory usage, and reduce code complexity. • In 8085 Microprocessor, there are 5 types of Addressing Modes 1. Immediate Addressing Mode 2. Direct Addressing Mode 3. Register Indirect Addressing Mode 4. Implied/Implicit Addressing Mode 5. Register Addressing Mode ADDRESSING MODES
  • 5. • In immediate addressing mode, the data is specified in the instruction itself. The data will be a part of the program instruction. • Specifically, the source operand is always data. • If the data is 8-bit, then the instruction will be of 2 bytes, if the data is of 16-bit then the instruction will be of 4 bytes. • Examples: • MVI B 45H (move the data 45H immediately to register B) • LXI H 3050H (load the H-L pair with the operand 3050H immediately) • JMP address (jump to the operand address immediately) • MVI B, 3EH - Move the data 3EH given in the instruction to B register Immediate Addressing Mode
  • 6. Direct Addressing Mode • In this addressing mode, the program instructions and data can be stored in different memory • The data to be operated is available inside a memory location and that memory location is directly specified as an operand. • Hence, the operand is directly available in the instruction itself (the address of the data is specified in the instruction). • 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) • IN 35 (read the data from port whose address is 35) • LDA 1050H - Load the data available in memory location 1050H in to accumulator
  • 7. • In register indirect addressing mode, the instruction specifies the name of the register in which the address of the data is available. • Here the data (to be operated) is available inside a memory and the address (memory location) is indirectly specified by 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 contents of B-C register to the accumulator) • STAX B (store accumulator contents in memory pointed by register pair B-C) Register Indirect Addressing Mode
  • 8. 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. • Examples: • CMA (finds and stores the 1’s complement of the contents of accumulator A in A) • RRC (rotate accumulator A right by one bit) • RLC (rotate accumulator A left by one bit)
  • 9. • In Register Addressing Mode, 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. • The register addressing mode is used for instructions that manipulate the contents of the registers. • Examples: • MOV A, B (move the contents of register B to register A) • ADD B (add the data in register B to the accumulator and store the result in accumulator) • INR A (increment the contents of register A by one) Register Addressing Mode
  • 10. • A binary command that is used to perform a function in the microprocessor over provided data is known as instruction. • A set of instructions is known as an instruction set that decides the microprocessor function. • Every instruction includes two parts like Opcode & the Operand. Opcode is used to specify the function to be executed & operand gives the data to be functioned on. • The programmer writes a program in assembly language using these instructions. • The 8085-instruction set can be classified into the following five functional headings INSTRUCTION SET
  • 11. • These instructions move data between registers, or between memory and registers. • These instructions copy data from source to destination. • While copying, the contents of source are not modified/altered. Hence the data transfer is copying operation. Data Transfer Instructions
  • 14. • These instructions perform arithmetic operations such as addition, subtraction, increment, and decrement • The flag conditions are altered after execution of an instruction in this group. Arithmetic Instructions
  • 17. • These instructions perform various logical operations with the contents of the accumulator. • Logical operations like AND, OR, EXCLUSIVE-OR, complement, compare and rotate instructions are grouped under this heading. The flag conditions are altered after execution of an instruction in this group Logical Instructions
  • 20. • This group of instructions alters the sequence of program execution either conditionally or unconditionally. • The instructions that are used to transfer the program control from one memory location to another memory location are grouped under this heading. Branching Instructions • These instructions control machine functions such as Halt, Interrupt, or do nothing Stack, I/O, and Machine Control Instructions
  • 21. These instructions control machine functions such as Halt, Interrupt, or do nothing Stack, I/O, and Machine Control Instructions