SlideShare a Scribd company logo
1 of 115
8085 Instruction Set 1
8085 Instruction Set
8085 Instruction Set 2
Instruction Format
 Size of instruction
 Instruction : 2parts
opcode – task to be performed
operand – 8/16 bit data/address, internal register
 1 byte instruction : OPCODE
MOV C,A
 2 byte instruction : OPCODE 8-bit data/address
MVI D,#F1
 3 byte instruction : OPCODE low byte data/address high byte data/address
JMP 2084
8085 Instruction Set 3
Addressing Modes -Types
 Method of specifying data to be operated by the
instruction – ADDRESSING
 Intel 8085 uses the following addressing modes:
1. Direct Addressing Mode
2. Register Addressing Mode
3. Register Indirect Addressing Mode
4. Immediate Addressing Mode
5. Implied Addressing Mode
8085 Instruction Set 4
Direct Addressing Mode
 The address of the operand (data) is given in the
instruction itself.
LDA 2500 H
Load the contents of memory location 2500 H in
accumulator.
 LDA is the operation.
 2500 H is the address of source.
 Accumulator is the destination.
Register Addressing Mode
 Instruction specifies the register in which data is
available.
MOV A, B
Move the contents of register B to A
 MOV is the operation.
 B is the source of data.
 A is the destination
Register Indirect Addressing
Mode
 In this mode, the address of operand is specified by a
register pair.
MOV A, M
Move data from memory location specified by H-L
pair to accumulator.
 MOV is the operation.
 M is the memory location specified by H-L register pair.
 A is the destination.
Immediate Addressing Mode
 In this mode, the operand is specified within the
instruction itself.
MVI A, 05 H
Move 05 H in accumulator
 MVI is the operation.
 05 H is the immediate data (source).
 A is the destination.
Implied 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
Complement accumulator
 CMA is the operation.
 A is the source.
 A is the destination.
8085 Instruction Set 10
8085 Instruction Set 11
8085 Instruction Set 12
• No flags are affected
• Register addressing mode
•1 byte instruction
• MOV B,M – Indirect addressing
8085 Instruction Set 13
• No flags are affected
• 2 byte instruction
• Immediate addressing mode
• MOV M,57 – Indirect addressing or immediate addressing
8085 Instruction Set 14
• No flags are affected
• 3 byte instruction
• Direct addressing mode
8085 Instruction Set 15
• No flags are affected
• one byte instruction
• Register indirect addressing mode
8085 Instruction Set 16
• No flags are affected
• 3 byte instruction
• Immediate addressing mode
8085 Instruction Set 17
• No flags are affected
• 3 byte instruction
•Direct addressing mode
8085 Instruction Set 18
• No flags are affected
• 3 byte instruction
• Direct addressing mode
8085 Instruction Set 19
• No flags are affected
• Register indirect addressing mode
8085 Instruction Set 20
• No flags are affected
• 3 byte instruction
•Direct addressing mode
8085 Instruction Set 21
• No flags are affected
• 1 byte instruction
• Implied addressing mode
8085 Instruction Set 22
• No flags are affected
• 1 byte instruction
• Implied addressing mode
8085 Instruction Set 23
• No flags are affected
• 1 byte instruction
• Implied addressing mode
8085 Instruction Set 24
• No flags are affected
• 1 byte instruction
• Implied addressing mode
8085 Instruction Set 25
• No flags are affected
• 1 byte instruction
• Register Indirect addressing mode
8085 Instruction Set 26
• No flags are affected
• 1 byte instruction
• Register Indirect addressing mode
8085 Instruction Set 27
• No flags are affected
• 2 byte instruction
• Direct addressing mode
8085 Instruction Set 28
• No flags are affected
• 2 byte instruction
• Direct addressing mode
8085 Instruction Set 29
8085 Instruction Set 30
8085 Instruction Set 31
8085 Instruction Set 32
• All flags are affected
• Register addressing mode
• One byte Instruction
• ADD M is Indirect addressing mode.
8085 Instruction Set 33
• All flags are affected
• Register addressing mode
• One byte Instruction
• ADC M is Indirect addressing mode.
8085 Instruction Set 34
• All flags are affected
• Two byte Instruction.
• Immediate addressing mode
8085 Instruction Set 35
• All flags are affected
• Two byte Instruction.
• Immediate addressing mode
8085 Instruction Set 36
• All flags are affected
• Two byte Instruction.
• Immediate addressing mode
8085 Instruction Set 37
• All flags are affected
• One byte Instruction.
• Register addressing mode
• SUB M is Indirect addressing mode.
8085 Instruction Set 38
• All flags are affected
• One byte Instruction.
• Register addressing mode
• SBB M is Indirect addressing mode.
8085 Instruction Set 39
• All flags are affected
• Two byte Instruction.
• Immediate addressing mode
8085 Instruction Set 40
• All flags are affected
• Two byte Instruction.
• Immediate addressing mode
8085 Instruction Set 41
• All flags are affected except carry flag.
• One byte Instruction.
• Register addressing mode
• INR M is Indirect addressing mode.
8085 Instruction Set 42
• No flags are affected
• One byte Instruction.
• Register addressing mode
8085 Instruction Set 43
• All flags are affected except carry flag.
• One byte Instruction.
• Register addressing mode
• DCR M is Indirect addressing mode.
8085 Instruction Set 44
• No flags are affected
• One byte Instruction.
• Register addressing mode
8085 Instruction Set 45
8085 Instruction Set 46
 PSW (Program Status word)
 - Flag unaffected
 * affected
 0 reset
 1 set
 S Sign (Bit 7)
 Z Zero (Bit 6)
 AC Auxiliary Carry (Bit 4)
 P Parity (Bit 2)
 CY Carry (Bit 0)
8085 Instruction Set 47
8085 Instruction Set 48
8085 Instruction Set 49
8085 Instruction Set 50
8085 Instruction Set 51
• All flags are affected.
• One byte Instruction.
• Register addressing mode
• CMP M is Indirect addressing mode.
8085 Instruction Set 52
8085 Instruction Set 53
• All flags are affected.
• Two byte Instruction.
• Immediate addressing mode
8085 Instruction Set 54
8085 Instruction Set 55
• All other flags are affected.
• One byte Instruction.
• Register addressing mode
• ANA M is Indirect addressing mode.
8085 Instruction Set 56
• All other flags are affected.
• Two byte Instruction.
• Immediate addressing mode
8085 Instruction Set 57
• All other flags are affected.
• One byte Instruction.
• Register addressing mode
• ORA M is Indirect addressing mode.
8085 Instruction Set 58
• All other flags are affected.
• Two byte Instruction.
• Immediate addressing mode
8085 Instruction Set 59
• All flags are affected.
• One byte Instruction.
• Register addressing mode
• XRA M is Indirect addressing mode.
8085 Instruction Set 60
• All other flags are affected.
• Two byte Instruction.
• Immediate addressing mode
8085 Instruction Set 61
• Only carry flag is affected.
• One byte Instruction.
• Implied addressing mode
8085 Instruction Set 62
8085 Instruction Set 63
8085 Instruction Set 64
8085 Instruction Set 65
8085 Instruction Set 66
8085 Instruction Set 67
8085 Instruction Set 68
8085 Instruction Set 69
8085 Instruction Set 70
8085 Instruction Set 71
8085 Instruction Set 72
8085 Instruction Set 73
8085 Instruction Set 74
8085 Instruction Set 75
 PSW (Program Status word)
 - Flag unaffected
 * affected
 0 reset
 1 set
 S Sign (Bit 7)
 Z Zero (Bit 6)
 AC Auxiliary Carry (Bit 4)
 P Parity (Bit 2)
 CY Carry (Bit 0)
8085 Instruction Set 76
8085 Instruction Set 77
8085 Instruction Set 78
8085 Instruction Set 79
8085 Instruction Set 80
8085 Instruction Set 81
8085 Instruction Set 82
8085 Instruction Set 83
8085 Instruction Set 84
8085 Instruction Set 85
8085 Instruction Set 86
8085 Instruction Set 87
8085 Instruction Set 88
8085 Instruction Set 89
8085 Instruction Set 90
8085 Instruction Set 91
8085 Instruction Set 92
 circular Left shift
8085 Instruction Set 93
 circular right shift
8085 Instruction Set 94
8085 Instruction Set 95
8085 Instruction Set 96
8085 Instruction Set 97
8085 Instruction Set 98
8085 Instruction Set 99
8085 Instruction Set 100
8085 Instruction Set 101
8085 Instruction Set 102
8085 Instruction Set 103
8085 Instruction Set 104
8085 Instruction Set 105
8085 Instruction Set 106
8085 Instruction Set 107
Summary – Data transfer
 MOV           Move
 MVI           Move Immediate
 LDA           Load Accumulator Directly from Memory
 STA           Store Accumulator Directly in Memory
 LHLD          Load H & L Registers Directly from 
Memory
 SHLD          Store H & L Registers Directly in 
Memory
8085 Instruction Set 108
Summary Data transfer
 An 'X' in the name of a data transfer instruction implies that it 
deals with a register pair (16-bits);
 LXI           Load Register Pair with Immediate data
 LDAX       Load Accumulator from Address in Register Pair
 STAX          Store Accumulator in Address in Register Pair
 XCHG          Exchange H & L with D & E
 XTHL          Exchange Top of Stack with H & L
8085 Instruction Set 109
Summary - Arithmetic Group
 Add, Subtract, Increment / Decrement data in registers or memory.
 
 ADD    Add to Accumulator
 ADI      Add Immediate Data to Accumulator
 ADC    Add to Accumulator Using Carry Flag
 ACI      Add Immediate data to Accumulator Using Carry 
 SUB    Subtract from Accumulator
 SUI     Subtract Immediate Data from Accumulator
 SBB    Subtract from Accumulator Using Borrow (Carry) Flag
 SBI     Subtract Immediate from Accumulator 
                Using Borrow (Carry) Flag
 INR      Increment Specified Byte by One
 DCR    Decrement Specified Byte by One
 INX      Increment Register Pair by One
 DCX    Decrement Register Pair by One
 DAD    Double Register Add; Add Content of Register Pair to H & L 
Register Pair
8085 Instruction Set 110
Summary Logical Group
 This group performs logical (Boolean) operations on data in 
registers and memory and on condition flags.
  These instructions enable you to set specific bits in the 
accumulator ON or OFF.
 
 ANA           Logical AND with Accumulator
 ANI            Logical AND with Accumulator Using Immediate
                      Data
 ORA          Logical OR with Accumulator
 OR            Logical OR with Accumulator Using Immediate
                      Data
 XRA          Exclusive Logical OR with Accumulator
 XRI           Exclusive OR Using Immediate Data
8085 Instruction Set 111
 The Compare instructions compare the content of an 8-bit value 
with the contents of the accumulator;
              
 CMP         Compare
 CPI           Compare Using Immediate Data
 
 The rotate instructions shift the contents of the accumulator one bit 
position to the left or right:
 
 RLC           Rotate Accumulator Left
 RRC          Rotate Accumulator Right
 RAL           Rotate Left Through Carry
 RAR          Rotate Right Through Carry
 
 Complement and carry flag instructions:
 
 CMA          Complement Accumulator
 CMC          Complement Carry Flag
 STC           Set Carry Flag
8085 Instruction Set 112
Summary - Branch Group
 Unconditional branching 
 JMP           Jump
 CALL          Call
 RET           Return
 Conditions
 NZ           Not Zero (Z = 0)
 Z              Zero (Z = 1)
 NC           No Carry (C = 0)
 C             Carry (C = 1)
 PO           Parity Odd (P = 0)
 PE           Parity Even (P        = 1)
 P             Plus (S = 0)
 M            Minus (S = 1)
 Conditional branching 
8085 Instruction Set 113
Summary - Stack
 PUSH       Push Two bytes of Data onto the Stack
 POP         Pop Two Bytes of Data off the Stack
 XTHL       Exchange Top of Stack with H & L
 SPHL       Move content of H & L to Stack Pointer
8085 Instruction Set 114
I/0 instructions
 IN               Initiate Input Operation
 OUT           Initiate Output Operation
8085 Instruction Set 115
Summary -Machine Control instructions
 EI            Enable Interrupt System
 DI            Disable Interrupt System
 HLT         Halt
 NOP        No Operation

More Related Content

What's hot

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 8085Chinmayee samal
 
Microprocessorlabmanual ee0310
Microprocessorlabmanual ee0310Microprocessorlabmanual ee0310
Microprocessorlabmanual ee0310DHEERAJ DHAKAR
 
ARITHMETIC OPERATIONS IN 8085 MICROPROCESSOR
ARITHMETIC OPERATIONS IN 8085 MICROPROCESSORARITHMETIC OPERATIONS IN 8085 MICROPROCESSOR
ARITHMETIC OPERATIONS IN 8085 MICROPROCESSORRamaPrabha24
 
Addressing Modes of 8085 Microprocessor
Addressing Modes of 8085 MicroprocessorAddressing Modes of 8085 Microprocessor
Addressing Modes of 8085 MicroprocessorDnyaneshwar Beedkar
 
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 Instructionscmkandemir
 
Chapter 6 - Introduction to 8085 Instructions
Chapter 6 - Introduction to 8085 InstructionsChapter 6 - Introduction to 8085 Instructions
Chapter 6 - Introduction to 8085 Instructionscmkandemir
 
Microprocessor 8085 addition of two decimal number
Microprocessor 8085 addition of two decimal numberMicroprocessor 8085 addition of two decimal number
Microprocessor 8085 addition of two decimal numberSukanta Dutta
 
Programming with 8085-Microprocessor and interfacing
Programming with 8085-Microprocessor and interfacingProgramming with 8085-Microprocessor and interfacing
Programming with 8085-Microprocessor and interfacingAmitabh Shukla
 
Microprocessor instructions
Microprocessor instructionsMicroprocessor instructions
Microprocessor instructionshepzijustin
 
8085 addressing modes(For College Seminars)
8085 addressing modes(For College Seminars)8085 addressing modes(For College Seminars)
8085 addressing modes(For College Seminars)Naman Joshi
 
Addresing mode and timing diagram
Addresing mode and timing diagramAddresing mode and timing diagram
Addresing mode and timing diagramtrivediau1
 
Addressing modes 8085
Addressing modes 8085Addressing modes 8085
Addressing modes 8085ShivamSood22
 
Assembly language i
Assembly language iAssembly language i
Assembly language iVivek Kumar
 
8085 instruction set and Programming
8085 instruction set and Programming 8085 instruction set and Programming
8085 instruction set and Programming pooja saini
 

What's hot (20)

8085 instruction-set
8085 instruction-set8085 instruction-set
8085 instruction-set
 
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
 
Microprocessorlabmanual ee0310
Microprocessorlabmanual ee0310Microprocessorlabmanual ee0310
Microprocessorlabmanual ee0310
 
Malp edusat
Malp edusatMalp edusat
Malp edusat
 
Chapter 5
Chapter 5Chapter 5
Chapter 5
 
ARITHMETIC OPERATIONS IN 8085 MICROPROCESSOR
ARITHMETIC OPERATIONS IN 8085 MICROPROCESSORARITHMETIC OPERATIONS IN 8085 MICROPROCESSOR
ARITHMETIC OPERATIONS IN 8085 MICROPROCESSOR
 
Addressing Modes of 8085 Microprocessor
Addressing Modes of 8085 MicroprocessorAddressing Modes of 8085 Microprocessor
Addressing Modes of 8085 Microprocessor
 
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
 
Chapter 6 - Introduction to 8085 Instructions
Chapter 6 - Introduction to 8085 InstructionsChapter 6 - Introduction to 8085 Instructions
Chapter 6 - Introduction to 8085 Instructions
 
8085 alp programs
8085 alp programs8085 alp programs
8085 alp programs
 
Microprocessor 8085 addition of two decimal number
Microprocessor 8085 addition of two decimal numberMicroprocessor 8085 addition of two decimal number
Microprocessor 8085 addition of two decimal number
 
Programming with 8085-Microprocessor and interfacing
Programming with 8085-Microprocessor and interfacingProgramming with 8085-Microprocessor and interfacing
Programming with 8085-Microprocessor and interfacing
 
Microprocessor instructions
Microprocessor instructionsMicroprocessor instructions
Microprocessor instructions
 
8085 addressing modes(For College Seminars)
8085 addressing modes(For College Seminars)8085 addressing modes(For College Seminars)
8085 addressing modes(For College Seminars)
 
Addressing modes of 8085
Addressing modes of 8085Addressing modes of 8085
Addressing modes of 8085
 
Addresing mode and timing diagram
Addresing mode and timing diagramAddresing mode and timing diagram
Addresing mode and timing diagram
 
8085 micro processor
8085 micro processor8085 micro processor
8085 micro processor
 
Addressing modes 8085
Addressing modes 8085Addressing modes 8085
Addressing modes 8085
 
Assembly language i
Assembly language iAssembly language i
Assembly language i
 
8085 instruction set and Programming
8085 instruction set and Programming 8085 instruction set and Programming
8085 instruction set and Programming
 

Viewers also liked

Instruction set of 8085 Microprocessor By Er. Swapnil Kaware
Instruction set of 8085 Microprocessor By Er. Swapnil KawareInstruction set of 8085 Microprocessor By Er. Swapnil Kaware
Instruction set of 8085 Microprocessor By Er. Swapnil KawareProf. Swapnil V. Kaware
 
Instruction set of 8085
Instruction set  of 8085Instruction set  of 8085
Instruction set of 8085shiji v r
 
Types of instructions
Types of instructionsTypes of instructions
Types of instructionsihsanjamil
 
8085 Paper Presentation slides,ppt,microprocessor 8085 ,guide, instruction set
8085 Paper Presentation slides,ppt,microprocessor 8085 ,guide, instruction set8085 Paper Presentation slides,ppt,microprocessor 8085 ,guide, instruction set
8085 Paper Presentation slides,ppt,microprocessor 8085 ,guide, instruction setSaumitra Rukmangad
 
Computer Architecture & Organization
Computer Architecture & OrganizationComputer Architecture & Organization
Computer Architecture & OrganizationShuvo Chakraborty
 
Computer instructions
Computer instructionsComputer instructions
Computer instructionsAnuj Modi
 
Introduction to microprocessor
Introduction to microprocessorIntroduction to microprocessor
Introduction to microprocessorKashyap Shah
 
8085 microprocessor architecture ppt
8085 microprocessor architecture ppt8085 microprocessor architecture ppt
8085 microprocessor architecture pptParvesh Gautam
 
itft-Instruction set-of-8085
itft-Instruction set-of-8085itft-Instruction set-of-8085
itft-Instruction set-of-8085Shifali Sharma
 
8085 instruction set (detailed)
8085 instruction set (detailed)8085 instruction set (detailed)
8085 instruction set (detailed)Ravi Anand
 
Instructionformatreport 110419102141-phpapp02
Instructionformatreport 110419102141-phpapp02Instructionformatreport 110419102141-phpapp02
Instructionformatreport 110419102141-phpapp02Shivani Gautam
 
Microprocessor lab manual
Microprocessor lab manualMicroprocessor lab manual
Microprocessor lab manualDhaval Shukla
 
8085 manual NCIT SAROZ BISTA SIR
8085 manual NCIT SAROZ BISTA SIR8085 manual NCIT SAROZ BISTA SIR
8085 manual NCIT SAROZ BISTA SIRTHEE CAVE
 
8085 microprocessor lab manual
8085 microprocessor lab manual8085 microprocessor lab manual
8085 microprocessor lab manualNithin Mohan
 
Instruction Set 8085
Instruction Set 8085Instruction Set 8085
Instruction Set 8085Stupidsid.com
 

Viewers also liked (20)

Instruction set of 8085 Microprocessor By Er. Swapnil Kaware
Instruction set of 8085 Microprocessor By Er. Swapnil KawareInstruction set of 8085 Microprocessor By Er. Swapnil Kaware
Instruction set of 8085 Microprocessor By Er. Swapnil Kaware
 
Instruction format
Instruction formatInstruction format
Instruction format
 
Instruction set of 8085
Instruction set  of 8085Instruction set  of 8085
Instruction set of 8085
 
Types of instructions
Types of instructionsTypes of instructions
Types of instructions
 
8085 Paper Presentation slides,ppt,microprocessor 8085 ,guide, instruction set
8085 Paper Presentation slides,ppt,microprocessor 8085 ,guide, instruction set8085 Paper Presentation slides,ppt,microprocessor 8085 ,guide, instruction set
8085 Paper Presentation slides,ppt,microprocessor 8085 ,guide, instruction set
 
Computer Architecture & Organization
Computer Architecture & OrganizationComputer Architecture & Organization
Computer Architecture & Organization
 
Computer instructions
Computer instructionsComputer instructions
Computer instructions
 
Introduction to microprocessor
Introduction to microprocessorIntroduction to microprocessor
Introduction to microprocessor
 
8085 microprocessor architecture ppt
8085 microprocessor architecture ppt8085 microprocessor architecture ppt
8085 microprocessor architecture ppt
 
itft-Instruction set-of-8085
itft-Instruction set-of-8085itft-Instruction set-of-8085
itft-Instruction set-of-8085
 
8085 instruction set (detailed)
8085 instruction set (detailed)8085 instruction set (detailed)
8085 instruction set (detailed)
 
Instructionformatreport 110419102141-phpapp02
Instructionformatreport 110419102141-phpapp02Instructionformatreport 110419102141-phpapp02
Instructionformatreport 110419102141-phpapp02
 
Microprocessor lab manual
Microprocessor lab manualMicroprocessor lab manual
Microprocessor lab manual
 
Micro prointronprog
Micro prointronprogMicro prointronprog
Micro prointronprog
 
8085 manual NCIT SAROZ BISTA SIR
8085 manual NCIT SAROZ BISTA SIR8085 manual NCIT SAROZ BISTA SIR
8085 manual NCIT SAROZ BISTA SIR
 
Microprocessor lab
Microprocessor labMicroprocessor lab
Microprocessor lab
 
Computer architecture
Computer architectureComputer architecture
Computer architecture
 
Lecture 3 instruction set
Lecture 3  instruction setLecture 3  instruction set
Lecture 3 instruction set
 
8085 microprocessor lab manual
8085 microprocessor lab manual8085 microprocessor lab manual
8085 microprocessor lab manual
 
Instruction Set 8085
Instruction Set 8085Instruction Set 8085
Instruction Set 8085
 

Similar to 8085 instruction-set new

8085-instruction-set.ppt
8085-instruction-set.ppt8085-instruction-set.ppt
8085-instruction-set.pptHarishRagavB
 
8085-instruction-set.ppt
8085-instruction-set.ppt8085-instruction-set.ppt
8085-instruction-set.pptHarshVartak1
 
8085-instruction-set.ppt
8085-instruction-set.ppt8085-instruction-set.ppt
8085-instruction-set.pptPoonamKadian3
 
Microprocessors-based systems (under graduate course) Lecture 4 of 9
Microprocessors-based systems (under graduate course) Lecture 4 of 9 Microprocessors-based systems (under graduate course) Lecture 4 of 9
Microprocessors-based systems (under graduate course) Lecture 4 of 9 Randa Elanwar
 
PPT 8085 microprocessor
PPT 8085 microprocessor PPT 8085 microprocessor
PPT 8085 microprocessor Ardhendupanja
 
Microprocessor and Microcontroller lec3
Microprocessor and Microcontroller lec3Microprocessor and Microcontroller lec3
Microprocessor and Microcontroller lec3Ameen San
 
21. interrupts
21. interrupts21. interrupts
21. interruptssandip das
 
Microprocessor and Microcontroller.pptx
Microprocessor and Microcontroller.pptxMicroprocessor and Microcontroller.pptx
Microprocessor and Microcontroller.pptxpvg123456
 
23. serial and parallel data communication
23. serial and parallel data communication23. serial and parallel data communication
23. serial and parallel data communicationsandip das
 
Addressing modes of 8085 by Er. Swapnil V. Kaware
Addressing modes of 8085 by Er. Swapnil V. KawareAddressing modes of 8085 by Er. Swapnil V. Kaware
Addressing modes of 8085 by Er. Swapnil V. KawareProf. Swapnil V. Kaware
 
MICROPROCESSORS AND MICROCONTROLLERS
MICROPROCESSORS AND MICROCONTROLLERSMICROPROCESSORS AND MICROCONTROLLERS
MICROPROCESSORS AND MICROCONTROLLERSselvakumar948
 
UNIT II MICROPROCESSOR AND MICROCONTROLLER
UNIT II MICROPROCESSOR AND MICROCONTROLLER UNIT II MICROPROCESSOR AND MICROCONTROLLER
UNIT II MICROPROCESSOR AND MICROCONTROLLER ravis205084
 
Different addressing modes in microcontrollers
Different addressing modes in microcontrollersDifferent addressing modes in microcontrollers
Different addressing modes in microcontrollersShabanamTamboli1
 

Similar to 8085 instruction-set new (20)

8085 instruction-set part 1
8085 instruction-set part 18085 instruction-set part 1
8085 instruction-set part 1
 
8085-instruction-set.ppt
8085-instruction-set.ppt8085-instruction-set.ppt
8085-instruction-set.ppt
 
8085 instruction-set
8085 instruction-set8085 instruction-set
8085 instruction-set
 
8085-instruction-set.ppt
8085-instruction-set.ppt8085-instruction-set.ppt
8085-instruction-set.ppt
 
8085-instruction-set.ppt
8085-instruction-set.ppt8085-instruction-set.ppt
8085-instruction-set.ppt
 
Microprocessor systems 8085(2)
Microprocessor systems 8085(2)Microprocessor systems 8085(2)
Microprocessor systems 8085(2)
 
Microprocessors-based systems (under graduate course) Lecture 4 of 9
Microprocessors-based systems (under graduate course) Lecture 4 of 9 Microprocessors-based systems (under graduate course) Lecture 4 of 9
Microprocessors-based systems (under graduate course) Lecture 4 of 9
 
PPT 8085 microprocessor
PPT 8085 microprocessor PPT 8085 microprocessor
PPT 8085 microprocessor
 
Microprocessor and Microcontroller lec3
Microprocessor and Microcontroller lec3Microprocessor and Microcontroller lec3
Microprocessor and Microcontroller lec3
 
21. interrupts
21. interrupts21. interrupts
21. interrupts
 
Microprocessor and Microcontroller.pptx
Microprocessor and Microcontroller.pptxMicroprocessor and Microcontroller.pptx
Microprocessor and Microcontroller.pptx
 
23. serial and parallel data communication
23. serial and parallel data communication23. serial and parallel data communication
23. serial and parallel data communication
 
Addressing modes of 8085 by Er. Swapnil V. Kaware
Addressing modes of 8085 by Er. Swapnil V. KawareAddressing modes of 8085 by Er. Swapnil V. Kaware
Addressing modes of 8085 by Er. Swapnil V. Kaware
 
MICROPROCESSORS AND MICROCONTROLLERS
MICROPROCESSORS AND MICROCONTROLLERSMICROPROCESSORS AND MICROCONTROLLERS
MICROPROCESSORS AND MICROCONTROLLERS
 
UNIT II MICROPROCESSOR AND MICROCONTROLLER
UNIT II MICROPROCESSOR AND MICROCONTROLLER UNIT II MICROPROCESSOR AND MICROCONTROLLER
UNIT II MICROPROCESSOR AND MICROCONTROLLER
 
Addressing modes
Addressing modesAddressing modes
Addressing modes
 
module-3.pptx
module-3.pptxmodule-3.pptx
module-3.pptx
 
Chapter 5
Chapter 5Chapter 5
Chapter 5
 
Different addressing modes in microcontrollers
Different addressing modes in microcontrollersDifferent addressing modes in microcontrollers
Different addressing modes in microcontrollers
 
Lec14
Lec14Lec14
Lec14
 

Recently uploaded

Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Dr.Costas Sachpazis
 
UNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and workingUNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and workingrknatarajan
 
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 
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
 
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...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
 
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
 
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escortsranjana rawat
 
Java Programming :Event Handling(Types of Events)
Java Programming :Event Handling(Types of Events)Java Programming :Event Handling(Types of Events)
Java Programming :Event Handling(Types of Events)simmis5
 
Processing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxProcessing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxpranjaldaimarysona
 
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...Christo Ananth
 
Porous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingPorous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingrakeshbaidya232001
 
Glass Ceramics: Processing and Properties
Glass Ceramics: Processing and PropertiesGlass Ceramics: Processing and Properties
Glass Ceramics: Processing and PropertiesPrabhanshu Chaturvedi
 
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 RecordAsst.prof M.Gokilavani
 
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
 
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
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
 
UNIT-III FMM. DIMENSIONAL ANALYSIS
UNIT-III FMM.        DIMENSIONAL ANALYSISUNIT-III FMM.        DIMENSIONAL ANALYSIS
UNIT-III FMM. DIMENSIONAL ANALYSISrknatarajan
 
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
 
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...Call Girls in Nagpur High Profile
 

Recently uploaded (20)

Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
 
UNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and workingUNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and working
 
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
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
 
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
 
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
 
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
 
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
 
Java Programming :Event Handling(Types of Events)
Java Programming :Event Handling(Types of Events)Java Programming :Event Handling(Types of Events)
Java Programming :Event Handling(Types of Events)
 
Processing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxProcessing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptx
 
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
 
Porous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingPorous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writing
 
Glass Ceramics: Processing and Properties
Glass Ceramics: Processing and PropertiesGlass Ceramics: Processing and Properties
Glass Ceramics: Processing and Properties
 
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
 
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...
 
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
 
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, ...
 
UNIT-III FMM. DIMENSIONAL ANALYSIS
UNIT-III FMM.        DIMENSIONAL ANALYSISUNIT-III FMM.        DIMENSIONAL ANALYSIS
UNIT-III FMM. DIMENSIONAL ANALYSIS
 
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...
 
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
 

8085 instruction-set new

  • 1. 8085 Instruction Set 1 8085 Instruction Set
  • 3. Instruction Format  Size of instruction  Instruction : 2parts opcode – task to be performed operand – 8/16 bit data/address, internal register  1 byte instruction : OPCODE MOV C,A  2 byte instruction : OPCODE 8-bit data/address MVI D,#F1  3 byte instruction : OPCODE low byte data/address high byte data/address JMP 2084 8085 Instruction Set 3
  • 4. Addressing Modes -Types  Method of specifying data to be operated by the instruction – ADDRESSING  Intel 8085 uses the following addressing modes: 1. Direct Addressing Mode 2. Register Addressing Mode 3. Register Indirect Addressing Mode 4. Immediate Addressing Mode 5. Implied Addressing Mode 8085 Instruction Set 4
  • 5. Direct Addressing Mode  The address of the operand (data) is given in the instruction itself. LDA 2500 H Load the contents of memory location 2500 H in accumulator.  LDA is the operation.  2500 H is the address of source.  Accumulator is the destination.
  • 6. Register Addressing Mode  Instruction specifies the register in which data is available. MOV A, B Move the contents of register B to A  MOV is the operation.  B is the source of data.  A is the destination
  • 7. Register Indirect Addressing Mode  In this mode, the address of operand is specified by a register pair. MOV A, M Move data from memory location specified by H-L pair to accumulator.  MOV is the operation.  M is the memory location specified by H-L register pair.  A is the destination.
  • 8. Immediate Addressing Mode  In this mode, the operand is specified within the instruction itself. MVI A, 05 H Move 05 H in accumulator  MVI is the operation.  05 H is the immediate data (source).  A is the destination.
  • 9. Implied 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 Complement accumulator  CMA is the operation.  A is the source.  A is the destination.
  • 12. 8085 Instruction Set 12 • No flags are affected • Register addressing mode •1 byte instruction • MOV B,M – Indirect addressing
  • 13. 8085 Instruction Set 13 • No flags are affected • 2 byte instruction • Immediate addressing mode • MOV M,57 – Indirect addressing or immediate addressing
  • 14. 8085 Instruction Set 14 • No flags are affected • 3 byte instruction • Direct addressing mode
  • 15. 8085 Instruction Set 15 • No flags are affected • one byte instruction • Register indirect addressing mode
  • 16. 8085 Instruction Set 16 • No flags are affected • 3 byte instruction • Immediate addressing mode
  • 17. 8085 Instruction Set 17 • No flags are affected • 3 byte instruction •Direct addressing mode
  • 18. 8085 Instruction Set 18 • No flags are affected • 3 byte instruction • Direct addressing mode
  • 19. 8085 Instruction Set 19 • No flags are affected • Register indirect addressing mode
  • 20. 8085 Instruction Set 20 • No flags are affected • 3 byte instruction •Direct addressing mode
  • 21. 8085 Instruction Set 21 • No flags are affected • 1 byte instruction • Implied addressing mode
  • 22. 8085 Instruction Set 22 • No flags are affected • 1 byte instruction • Implied addressing mode
  • 23. 8085 Instruction Set 23 • No flags are affected • 1 byte instruction • Implied addressing mode
  • 24. 8085 Instruction Set 24 • No flags are affected • 1 byte instruction • Implied addressing mode
  • 25. 8085 Instruction Set 25 • No flags are affected • 1 byte instruction • Register Indirect addressing mode
  • 26. 8085 Instruction Set 26 • No flags are affected • 1 byte instruction • Register Indirect addressing mode
  • 27. 8085 Instruction Set 27 • No flags are affected • 2 byte instruction • Direct addressing mode
  • 28. 8085 Instruction Set 28 • No flags are affected • 2 byte instruction • Direct addressing mode
  • 32. 8085 Instruction Set 32 • All flags are affected • Register addressing mode • One byte Instruction • ADD M is Indirect addressing mode.
  • 33. 8085 Instruction Set 33 • All flags are affected • Register addressing mode • One byte Instruction • ADC M is Indirect addressing mode.
  • 34. 8085 Instruction Set 34 • All flags are affected • Two byte Instruction. • Immediate addressing mode
  • 35. 8085 Instruction Set 35 • All flags are affected • Two byte Instruction. • Immediate addressing mode
  • 36. 8085 Instruction Set 36 • All flags are affected • Two byte Instruction. • Immediate addressing mode
  • 37. 8085 Instruction Set 37 • All flags are affected • One byte Instruction. • Register addressing mode • SUB M is Indirect addressing mode.
  • 38. 8085 Instruction Set 38 • All flags are affected • One byte Instruction. • Register addressing mode • SBB M is Indirect addressing mode.
  • 39. 8085 Instruction Set 39 • All flags are affected • Two byte Instruction. • Immediate addressing mode
  • 40. 8085 Instruction Set 40 • All flags are affected • Two byte Instruction. • Immediate addressing mode
  • 41. 8085 Instruction Set 41 • All flags are affected except carry flag. • One byte Instruction. • Register addressing mode • INR M is Indirect addressing mode.
  • 42. 8085 Instruction Set 42 • No flags are affected • One byte Instruction. • Register addressing mode
  • 43. 8085 Instruction Set 43 • All flags are affected except carry flag. • One byte Instruction. • Register addressing mode • DCR M is Indirect addressing mode.
  • 44. 8085 Instruction Set 44 • No flags are affected • One byte Instruction. • Register addressing mode
  • 46. 8085 Instruction Set 46  PSW (Program Status word)  - Flag unaffected  * affected  0 reset  1 set  S Sign (Bit 7)  Z Zero (Bit 6)  AC Auxiliary Carry (Bit 4)  P Parity (Bit 2)  CY Carry (Bit 0)
  • 51. 8085 Instruction Set 51 • All flags are affected. • One byte Instruction. • Register addressing mode • CMP M is Indirect addressing mode.
  • 53. 8085 Instruction Set 53 • All flags are affected. • Two byte Instruction. • Immediate addressing mode
  • 55. 8085 Instruction Set 55 • All other flags are affected. • One byte Instruction. • Register addressing mode • ANA M is Indirect addressing mode.
  • 56. 8085 Instruction Set 56 • All other flags are affected. • Two byte Instruction. • Immediate addressing mode
  • 57. 8085 Instruction Set 57 • All other flags are affected. • One byte Instruction. • Register addressing mode • ORA M is Indirect addressing mode.
  • 58. 8085 Instruction Set 58 • All other flags are affected. • Two byte Instruction. • Immediate addressing mode
  • 59. 8085 Instruction Set 59 • All flags are affected. • One byte Instruction. • Register addressing mode • XRA M is Indirect addressing mode.
  • 60. 8085 Instruction Set 60 • All other flags are affected. • Two byte Instruction. • Immediate addressing mode
  • 61. 8085 Instruction Set 61 • Only carry flag is affected. • One byte Instruction. • Implied addressing mode
  • 75. 8085 Instruction Set 75  PSW (Program Status word)  - Flag unaffected  * affected  0 reset  1 set  S Sign (Bit 7)  Z Zero (Bit 6)  AC Auxiliary Carry (Bit 4)  P Parity (Bit 2)  CY Carry (Bit 0)
  • 92. 8085 Instruction Set 92  circular Left shift
  • 93. 8085 Instruction Set 93  circular right shift
  • 107. 8085 Instruction Set 107 Summary – Data transfer  MOV           Move  MVI           Move Immediate  LDA           Load Accumulator Directly from Memory  STA           Store Accumulator Directly in Memory  LHLD          Load H & L Registers Directly from  Memory  SHLD          Store H & L Registers Directly in  Memory
  • 108. 8085 Instruction Set 108 Summary Data transfer  An 'X' in the name of a data transfer instruction implies that it  deals with a register pair (16-bits);  LXI           Load Register Pair with Immediate data  LDAX       Load Accumulator from Address in Register Pair  STAX          Store Accumulator in Address in Register Pair  XCHG          Exchange H & L with D & E  XTHL          Exchange Top of Stack with H & L
  • 109. 8085 Instruction Set 109 Summary - Arithmetic Group  Add, Subtract, Increment / Decrement data in registers or memory.    ADD    Add to Accumulator  ADI      Add Immediate Data to Accumulator  ADC    Add to Accumulator Using Carry Flag  ACI      Add Immediate data to Accumulator Using Carry   SUB    Subtract from Accumulator  SUI     Subtract Immediate Data from Accumulator  SBB    Subtract from Accumulator Using Borrow (Carry) Flag  SBI     Subtract Immediate from Accumulator                  Using Borrow (Carry) Flag  INR      Increment Specified Byte by One  DCR    Decrement Specified Byte by One  INX      Increment Register Pair by One  DCX    Decrement Register Pair by One  DAD    Double Register Add; Add Content of Register Pair to H & L  Register Pair
  • 110. 8085 Instruction Set 110 Summary Logical Group  This group performs logical (Boolean) operations on data in  registers and memory and on condition flags.   These instructions enable you to set specific bits in the  accumulator ON or OFF.    ANA           Logical AND with Accumulator  ANI            Logical AND with Accumulator Using Immediate                       Data  ORA          Logical OR with Accumulator  OR            Logical OR with Accumulator Using Immediate                       Data  XRA          Exclusive Logical OR with Accumulator  XRI           Exclusive OR Using Immediate Data
  • 111. 8085 Instruction Set 111  The Compare instructions compare the content of an 8-bit value  with the contents of the accumulator;                 CMP         Compare  CPI           Compare Using Immediate Data    The rotate instructions shift the contents of the accumulator one bit  position to the left or right:    RLC           Rotate Accumulator Left  RRC          Rotate Accumulator Right  RAL           Rotate Left Through Carry  RAR          Rotate Right Through Carry    Complement and carry flag instructions:    CMA          Complement Accumulator  CMC          Complement Carry Flag  STC           Set Carry Flag
  • 112. 8085 Instruction Set 112 Summary - Branch Group  Unconditional branching   JMP           Jump  CALL          Call  RET           Return  Conditions  NZ           Not Zero (Z = 0)  Z              Zero (Z = 1)  NC           No Carry (C = 0)  C             Carry (C = 1)  PO           Parity Odd (P = 0)  PE           Parity Even (P        = 1)  P             Plus (S = 0)  M            Minus (S = 1)  Conditional branching 
  • 113. 8085 Instruction Set 113 Summary - Stack  PUSH       Push Two bytes of Data onto the Stack  POP         Pop Two Bytes of Data off the Stack  XTHL       Exchange Top of Stack with H & L  SPHL       Move content of H & L to Stack Pointer
  • 114. 8085 Instruction Set 114 I/0 instructions  IN               Initiate Input Operation  OUT           Initiate Output Operation
  • 115. 8085 Instruction Set 115 Summary -Machine Control instructions  EI            Enable Interrupt System  DI            Disable Interrupt System  HLT         Halt  NOP        No Operation