SlideShare a Scribd company logo
1 of 32
8085 Instruction Set 1
BABUKANNAN.D
RVSETGI
8085 Instruction Set
8085 Instruction Set 2
8085 Instruction Set 3
8085 Instruction Set 4
8085 Instruction Set 5
8085 Instruction Set 6
8085 Instruction Set 7
8085 Instruction Set 8
8085 Instruction Set 9
8085 Instruction Set 10
8085 Instruction Set 11
8085 Instruction Set 12
8085 Instruction Set 13
8085 Instruction Set 14
8085 Instruction Set 15
8085 Instruction Set 16
8085 Instruction Set 17
8085 Instruction Set 18
8085 Instruction Set 19
8085 Instruction Set 20
8085 Instruction Set 21
8085 Instruction Set 22
8085 Instruction Set 23
8085 Instruction Set 24
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 25
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 26
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 27
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 28
 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 29
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 30
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 31
I/0 instructions
 IN Initiate Input Operation
 OUT Initiate Output Operation
8085 Instruction Set 32
Summary -Machine Control instructions
 EI Enable Interrupt System
 DI Disable Interrupt System
 HLT Halt
 NOP No Operation

More Related Content

Similar to 8085-instruction-set.ppt

8085 microprocessor(1)
8085 microprocessor(1)8085 microprocessor(1)
8085 microprocessor(1)
Reevu Pal
 

Similar to 8085-instruction-set.ppt (20)

Section 1 8051 microcontroller instruction set
Section 1 8051 microcontroller instruction setSection 1 8051 microcontroller instruction set
Section 1 8051 microcontroller instruction set
 
Intel 8085 mp
Intel 8085 mpIntel 8085 mp
Intel 8085 mp
 
PPT 8085 microprocessor
PPT 8085 microprocessor PPT 8085 microprocessor
PPT 8085 microprocessor
 
Architecture of 8085
Architecture of  8085Architecture of  8085
Architecture of 8085
 
Microcontroller 8051
Microcontroller 8051Microcontroller 8051
Microcontroller 8051
 
8085 alp programs
8085 alp programs8085 alp programs
8085 alp programs
 
UNIT II.pptx
UNIT II.pptxUNIT II.pptx
UNIT II.pptx
 
instruction set and classificaion
instruction set and classificaioninstruction set and classificaion
instruction set and classificaion
 
microp-8085 74 instructions for mct-A :P
microp-8085 74 instructions for mct-A :Pmicrop-8085 74 instructions for mct-A :P
microp-8085 74 instructions for mct-A :P
 
microp-8085 74 instructions for mct-A :P-2
microp-8085 74 instructions for mct-A :P-2microp-8085 74 instructions for mct-A :P-2
microp-8085 74 instructions for mct-A :P-2
 
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
 
Instruction set of 8085 microprocessor
Instruction set of 8085 microprocessorInstruction set of 8085 microprocessor
Instruction set of 8085 microprocessor
 
8085 microprocessor(1)
8085 microprocessor(1)8085 microprocessor(1)
8085 microprocessor(1)
 
8087 MICROPROCESSOR and diagram with definition.pdf
8087 MICROPROCESSOR and diagram with definition.pdf8087 MICROPROCESSOR and diagram with definition.pdf
8087 MICROPROCESSOR and diagram with definition.pdf
 
Lecture 04 Logical Group of Instructions
Lecture 04 Logical Group of InstructionsLecture 04 Logical Group of Instructions
Lecture 04 Logical Group of Instructions
 
5th unit Microprocessor 8085
5th unit Microprocessor 80855th unit Microprocessor 8085
5th unit Microprocessor 8085
 
8085 Architecture
8085 Architecture8085 Architecture
8085 Architecture
 
EE2356 Microprocessor and Microcontroller Lab Manuel
EE2356 Microprocessor and Microcontroller Lab ManuelEE2356 Microprocessor and Microcontroller Lab Manuel
EE2356 Microprocessor and Microcontroller Lab Manuel
 
INTEL 8085 DATA FORMAT AND INSTRUCTIONS
INTEL 8085 DATA FORMAT AND INSTRUCTIONSINTEL 8085 DATA FORMAT AND INSTRUCTIONS
INTEL 8085 DATA FORMAT AND INSTRUCTIONS
 
Chapter 3 instruction set-of-8085
Chapter 3 instruction set-of-8085Chapter 3 instruction set-of-8085
Chapter 3 instruction set-of-8085
 

Recently uploaded

21P35A0312 Internship eccccccReport.docx
21P35A0312 Internship eccccccReport.docx21P35A0312 Internship eccccccReport.docx
21P35A0312 Internship eccccccReport.docx
rahulmanepalli02
 
01-vogelsanger-stanag-4178-ed-2-the-new-nato-standard-for-nitrocellulose-test...
01-vogelsanger-stanag-4178-ed-2-the-new-nato-standard-for-nitrocellulose-test...01-vogelsanger-stanag-4178-ed-2-the-new-nato-standard-for-nitrocellulose-test...
01-vogelsanger-stanag-4178-ed-2-the-new-nato-standard-for-nitrocellulose-test...
AshwaniAnuragi1
 

Recently uploaded (20)

SLIDESHARE PPT-DECISION MAKING METHODS.pptx
SLIDESHARE PPT-DECISION MAKING METHODS.pptxSLIDESHARE PPT-DECISION MAKING METHODS.pptx
SLIDESHARE PPT-DECISION MAKING METHODS.pptx
 
21P35A0312 Internship eccccccReport.docx
21P35A0312 Internship eccccccReport.docx21P35A0312 Internship eccccccReport.docx
21P35A0312 Internship eccccccReport.docx
 
handbook on reinforce concrete and detailing
handbook on reinforce concrete and detailinghandbook on reinforce concrete and detailing
handbook on reinforce concrete and detailing
 
Worksharing and 3D Modeling with Revit.pptx
Worksharing and 3D Modeling with Revit.pptxWorksharing and 3D Modeling with Revit.pptx
Worksharing and 3D Modeling with Revit.pptx
 
Seismic Hazard Assessment Software in Python by Prof. Dr. Costas Sachpazis
Seismic Hazard Assessment Software in Python by Prof. Dr. Costas SachpazisSeismic Hazard Assessment Software in Python by Prof. Dr. Costas Sachpazis
Seismic Hazard Assessment Software in Python by Prof. Dr. Costas Sachpazis
 
Artificial Intelligence in due diligence
Artificial Intelligence in due diligenceArtificial Intelligence in due diligence
Artificial Intelligence in due diligence
 
Databricks Generative AI FoundationCertified.pdf
Databricks Generative AI FoundationCertified.pdfDatabricks Generative AI FoundationCertified.pdf
Databricks Generative AI FoundationCertified.pdf
 
Dynamo Scripts for Task IDs and Space Naming.pptx
Dynamo Scripts for Task IDs and Space Naming.pptxDynamo Scripts for Task IDs and Space Naming.pptx
Dynamo Scripts for Task IDs and Space Naming.pptx
 
NO1 Best Powerful Vashikaran Specialist Baba Vashikaran Specialist For Love V...
NO1 Best Powerful Vashikaran Specialist Baba Vashikaran Specialist For Love V...NO1 Best Powerful Vashikaran Specialist Baba Vashikaran Specialist For Love V...
NO1 Best Powerful Vashikaran Specialist Baba Vashikaran Specialist For Love V...
 
Raashid final report on Embedded Systems
Raashid final report on Embedded SystemsRaashid final report on Embedded Systems
Raashid final report on Embedded Systems
 
Fuzzy logic method-based stress detector with blood pressure and body tempera...
Fuzzy logic method-based stress detector with blood pressure and body tempera...Fuzzy logic method-based stress detector with blood pressure and body tempera...
Fuzzy logic method-based stress detector with blood pressure and body tempera...
 
litvinenko_Henry_Intrusion_Hong-Kong_2024.pdf
litvinenko_Henry_Intrusion_Hong-Kong_2024.pdflitvinenko_Henry_Intrusion_Hong-Kong_2024.pdf
litvinenko_Henry_Intrusion_Hong-Kong_2024.pdf
 
Theory of Time 2024 (Universal Theory for Everything)
Theory of Time 2024 (Universal Theory for Everything)Theory of Time 2024 (Universal Theory for Everything)
Theory of Time 2024 (Universal Theory for Everything)
 
01-vogelsanger-stanag-4178-ed-2-the-new-nato-standard-for-nitrocellulose-test...
01-vogelsanger-stanag-4178-ed-2-the-new-nato-standard-for-nitrocellulose-test...01-vogelsanger-stanag-4178-ed-2-the-new-nato-standard-for-nitrocellulose-test...
01-vogelsanger-stanag-4178-ed-2-the-new-nato-standard-for-nitrocellulose-test...
 
Passive Air Cooling System and Solar Water Heater.ppt
Passive Air Cooling System and Solar Water Heater.pptPassive Air Cooling System and Solar Water Heater.ppt
Passive Air Cooling System and Solar Water Heater.ppt
 
What is Coordinate Measuring Machine? CMM Types, Features, Functions
What is Coordinate Measuring Machine? CMM Types, Features, FunctionsWhat is Coordinate Measuring Machine? CMM Types, Features, Functions
What is Coordinate Measuring Machine? CMM Types, Features, Functions
 
Geometric constructions Engineering Drawing.pdf
Geometric constructions Engineering Drawing.pdfGeometric constructions Engineering Drawing.pdf
Geometric constructions Engineering Drawing.pdf
 
NEWLETTER FRANCE HELICES/ SDS SURFACE DRIVES - MAY 2024
NEWLETTER FRANCE HELICES/ SDS SURFACE DRIVES - MAY 2024NEWLETTER FRANCE HELICES/ SDS SURFACE DRIVES - MAY 2024
NEWLETTER FRANCE HELICES/ SDS SURFACE DRIVES - MAY 2024
 
Autodesk Construction Cloud (Autodesk Build).pptx
Autodesk Construction Cloud (Autodesk Build).pptxAutodesk Construction Cloud (Autodesk Build).pptx
Autodesk Construction Cloud (Autodesk Build).pptx
 
Max. shear stress theory-Maximum Shear Stress Theory ​ Maximum Distortional ...
Max. shear stress theory-Maximum Shear Stress Theory ​  Maximum Distortional ...Max. shear stress theory-Maximum Shear Stress Theory ​  Maximum Distortional ...
Max. shear stress theory-Maximum Shear Stress Theory ​ Maximum Distortional ...
 

8085-instruction-set.ppt

  • 1. 8085 Instruction Set 1 BABUKANNAN.D RVSETGI 8085 Instruction Set
  • 24. 8085 Instruction Set 24 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
  • 25. 8085 Instruction Set 25 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
  • 26. 8085 Instruction Set 26 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
  • 27. 8085 Instruction Set 27 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
  • 28. 8085 Instruction Set 28  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
  • 29. 8085 Instruction Set 29 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
  • 30. 8085 Instruction Set 30 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
  • 31. 8085 Instruction Set 31 I/0 instructions  IN Initiate Input Operation  OUT Initiate Output Operation
  • 32. 8085 Instruction Set 32 Summary -Machine Control instructions  EI Enable Interrupt System  DI Disable Interrupt System  HLT Halt  NOP No Operation