SlideShare a Scribd company logo
Department of Electrical and Electronic
Engineering
Khulna University of Engineering & Technology
Khulna-9203
Course code : EE 3214
Sessional on
Microprocessors, Micro-controllers and Peripherals
Presented By
Amit Kumer Podder
Experiment No. 02
(a)Study on 8085 Microprocessor
Instruction set
(b)Performing different arithmetic
operation using 8085
Microprocessor
Experiment Name
7/3/2020 Amit Kumer Podder 2
Instruction Set of
8085
7/3/2020 Amit Kumer Podder 3
Instruction set of 8085
7/3/2020 Amit Kumer Podder 4
Instruction set of 8085
7/3/2020 Amit Kumer Podder 5
Instruction set of 8085
7/3/2020 Amit Kumer Podder 6
Instruction set of 8085
7/3/2020 Amit Kumer Podder 7
Instruction set of 8085
7/3/2020 Amit Kumer Podder 8
Instruction set of 8085
7/3/2020 Amit Kumer Podder 9
Instruction set of 8085
7/3/2020 Amit Kumer Podder 10
Instruction set of 8085
7/3/2020 Amit Kumer Podder 11
Instruction set of 8085
7/3/2020 Amit Kumer Podder 12
• Addition of two 8-bit number with carry
• Addition of six 8-bit number with carry
• Subtraction of two 8-bit number with borrow
• Multiplication of two 8-bit number
• Multiplication of two 8-bit number with overflow
• Division of two 8-bit number
• Block of Data transfer (data copy and paste)
Performing the following Program
7/3/2020 Amit Kumer Podder 13
Addition with carry
Label Mnemonics
Op-code Operand
START MVI A, ECH
MVI B, F1H
MVI C, 00H
ADD B
JNC LOOP1
INR C
LOOP1 STA 8090 H
MOV A,C
STA 8091 H
END HLT
7/3/2020 Amit Kumer Podder 14
Subtraction with Borrow
Label Mnemonics
Op-code Operand
START MVI A, 02H
MVI B, 05H
MVI C,00H
SUB B
LOOP JNC LOOP
CMA
INR A
INR C
STA 8090 H
MOV A,C
STA 8091 H
END HLT
7/3/2020 Amit Kumer Podder 15
Multiplication of two 8 bit
number
Label Mnemonics
Op-code Operand
START MVI B, 03H
MVI C, 02H
LOOP ADD B
DCR C
JNZ LOOP
STA 8080 H
END HLT
7/3/2020 Amit Kumer Podder 16
Multiplication with overflow
Label Mnemonics
Op-code Operand
START MVI A, 00H
MVI B, FFH
MVI C, 0BH
MVI D, 00H
LOOP1 ADD B
JNC LOOP2
INR D
LOOP2 DCR C
JNZ LOOP1
STA 8080 H
MOV A,D
STA 8082 H
END HLT
7/3/2020 Amit Kumer Podder 17
Division of two 8 bit
number
Label Mnemonics
Op-code Operand
START MVI A, 0CH
MVI B, 02H
MVI C, 00H
LOOP INR C
SUB B
JNZ LOOP
MOV A,C
STA 8080 H
END HLT
7/3/2020 Amit Kumer Podder 18
Block of data transfer
Label Mnemonics
Op-code Operand
START LXI H, 8070 H
LXI D, 8090 H
MVI C, 06H
LOOP MOV A, M
STAX D
INX H
INX D
DCR C
JNZ LOOP
END HLT
7/3/2020 Amit Kumer Podder 19
Block of data addition
Label Mnemonics
Op-code Operand
START XRA A
MOV B, A
MVI C, 06H
LXI H, 8070 H
LOOP1 ADD M
JNC LOOP2
INR B
LOOP2 INX H
DCR C
JNZ LOOP1
STA 8080 H
MOV A,B
STA 8090 H
END HLT
7/3/2020 Amit Kumer Podder 20
Ad

Recommended

8254 Programmable Interval Timer
8254 Programmable Interval Timer
Amit Kumer Podder
 
RF Tee Adapter, BNC Female-Male-Female [P/N: A-BNCF-BNCM-BNCF-243]
RF Tee Adapter, BNC Female-Male-Female [P/N: A-BNCF-BNCM-BNCF-243]
Echo Dong
 
Shimpo able vrb_brochure
Shimpo able vrb_brochure
Electromate
 
MPMC LAB MANUAL EEE
MPMC LAB MANUAL EEE
Er.Perumal Manimekalai College of Engg
 
3350904 Microprocessor and controller applications lab 1 date 5 8 2020.pptx
3350904 Microprocessor and controller applications lab 1 date 5 8 2020.pptx
bhattparthiv23
 
Ee6612 miroprocessor and microcontroller laboratory
Ee6612 miroprocessor and microcontroller laboratory
recarunkumar
 
1. Instructionset.pptfor engineering student
1. Instructionset.pptfor engineering student
ayushmishraaa09
 
8085 instruction set and Programming
8085 instruction set and Programming
pooja saini
 
Microprocessor Lab Manual by Er. Swapnil V. Kaware
Microprocessor Lab Manual by Er. Swapnil V. Kaware
Prof. Swapnil V. Kaware
 
instruction set and classificaion
instruction set and classificaion
RamaPrabha24
 
Lab Manual.pdf
Lab Manual.pdf
MiniMadavKhanal
 
EE2356 Microprocessor and Microcontroller Lab Manuel
EE2356 Microprocessor and Microcontroller Lab Manuel
Velalar College of Engineering and Technology
 
Microprocessor and Microcontroller Lab Manual!
Microprocessor and Microcontroller Lab Manual!
PRABHAHARAN429
 
microprocessor Laboratory experiments manual
microprocessor Laboratory experiments manual
Ankit Kumar
 
Instruction set of 8085 microprocessor
Instruction set of 8085 microprocessor
Rahul Sahu
 
MPMC UNIT-2.pdf
MPMC UNIT-2.pdf
RAHUL RANJAN
 
Microprocessors and Microcontrollers ppt 2
Microprocessors and Microcontrollers ppt 2
pradeepA32
 
Assembly Language Programming Of 8085
Assembly Language Programming Of 8085
techbed
 
1.pdf
1.pdf
RohitkumarYadav80
 
8085_MicroelectronicAndMicroprocess.pdf
8085_MicroelectronicAndMicroprocess.pdf
FloraKara
 
Introduction to 8085 & it's description(includes basic lab experiments)
Introduction to 8085 & it's description(includes basic lab experiments)
Basil John
 
MicroprocessorLecture_2_eightbit_microprocessor.ppt
MicroprocessorLecture_2_eightbit_microprocessor.ppt
BijitKumarDas
 
Mpi lab manual eee
Mpi lab manual eee
Vivek Kumar Sinha
 
8051 micro controllers Instruction set
8051 micro controllers Instruction set
Nitin Ahire
 
Mc05.ppt
Mc05.ppt
SENTHILKUMARR63
 
Programming with 8085
Programming with 8085
Shehrevar Davierwala
 
PPT 8085 microprocessor
PPT 8085 microprocessor
Ardhendupanja
 
Programming with 8085-Microprocessor and interfacing
Programming with 8085-Microprocessor and interfacing
Amitabh Shukla
 
Power Amplifier
Power Amplifier
Amit Kumer Podder
 
Familiarization of electronic equipment
Familiarization of electronic equipment
Amit Kumer Podder
 

More Related Content

Similar to 8085 Microprocessor Programming and Instruction set (20)

Microprocessor Lab Manual by Er. Swapnil V. Kaware
Microprocessor Lab Manual by Er. Swapnil V. Kaware
Prof. Swapnil V. Kaware
 
instruction set and classificaion
instruction set and classificaion
RamaPrabha24
 
Lab Manual.pdf
Lab Manual.pdf
MiniMadavKhanal
 
EE2356 Microprocessor and Microcontroller Lab Manuel
EE2356 Microprocessor and Microcontroller Lab Manuel
Velalar College of Engineering and Technology
 
Microprocessor and Microcontroller Lab Manual!
Microprocessor and Microcontroller Lab Manual!
PRABHAHARAN429
 
microprocessor Laboratory experiments manual
microprocessor Laboratory experiments manual
Ankit Kumar
 
Instruction set of 8085 microprocessor
Instruction set of 8085 microprocessor
Rahul Sahu
 
MPMC UNIT-2.pdf
MPMC UNIT-2.pdf
RAHUL RANJAN
 
Microprocessors and Microcontrollers ppt 2
Microprocessors and Microcontrollers ppt 2
pradeepA32
 
Assembly Language Programming Of 8085
Assembly Language Programming Of 8085
techbed
 
1.pdf
1.pdf
RohitkumarYadav80
 
8085_MicroelectronicAndMicroprocess.pdf
8085_MicroelectronicAndMicroprocess.pdf
FloraKara
 
Introduction to 8085 & it's description(includes basic lab experiments)
Introduction to 8085 & it's description(includes basic lab experiments)
Basil John
 
MicroprocessorLecture_2_eightbit_microprocessor.ppt
MicroprocessorLecture_2_eightbit_microprocessor.ppt
BijitKumarDas
 
Mpi lab manual eee
Mpi lab manual eee
Vivek Kumar Sinha
 
8051 micro controllers Instruction set
8051 micro controllers Instruction set
Nitin Ahire
 
Mc05.ppt
Mc05.ppt
SENTHILKUMARR63
 
Programming with 8085
Programming with 8085
Shehrevar Davierwala
 
PPT 8085 microprocessor
PPT 8085 microprocessor
Ardhendupanja
 
Programming with 8085-Microprocessor and interfacing
Programming with 8085-Microprocessor and interfacing
Amitabh Shukla
 
Microprocessor Lab Manual by Er. Swapnil V. Kaware
Microprocessor Lab Manual by Er. Swapnil V. Kaware
Prof. Swapnil V. Kaware
 
instruction set and classificaion
instruction set and classificaion
RamaPrabha24
 
Microprocessor and Microcontroller Lab Manual!
Microprocessor and Microcontroller Lab Manual!
PRABHAHARAN429
 
microprocessor Laboratory experiments manual
microprocessor Laboratory experiments manual
Ankit Kumar
 
Instruction set of 8085 microprocessor
Instruction set of 8085 microprocessor
Rahul Sahu
 
Microprocessors and Microcontrollers ppt 2
Microprocessors and Microcontrollers ppt 2
pradeepA32
 
Assembly Language Programming Of 8085
Assembly Language Programming Of 8085
techbed
 
8085_MicroelectronicAndMicroprocess.pdf
8085_MicroelectronicAndMicroprocess.pdf
FloraKara
 
Introduction to 8085 & it's description(includes basic lab experiments)
Introduction to 8085 & it's description(includes basic lab experiments)
Basil John
 
MicroprocessorLecture_2_eightbit_microprocessor.ppt
MicroprocessorLecture_2_eightbit_microprocessor.ppt
BijitKumarDas
 
8051 micro controllers Instruction set
8051 micro controllers Instruction set
Nitin Ahire
 
PPT 8085 microprocessor
PPT 8085 microprocessor
Ardhendupanja
 
Programming with 8085-Microprocessor and interfacing
Programming with 8085-Microprocessor and interfacing
Amitabh Shukla
 

More from Amit Kumer Podder (12)

Power Amplifier
Power Amplifier
Amit Kumer Podder
 
Familiarization of electronic equipment
Familiarization of electronic equipment
Amit Kumer Podder
 
Transducer
Transducer
Amit Kumer Podder
 
Arduino Programming on Motor Control
Arduino Programming on Motor Control
Amit Kumer Podder
 
Arduino Programming Familiarization
Arduino Programming Familiarization
Amit Kumer Podder
 
Dot Matrix LED Interfacing using 8255 PPI
Dot Matrix LED Interfacing using 8255 PPI
Amit Kumer Podder
 
8086 Assembly Language and Serial Monitor Operation of 8086 Trainer Kit
8086 Assembly Language and Serial Monitor Operation of 8086 Trainer Kit
Amit Kumer Podder
 
8086 Micro-processor and MDA 8086 Trainer Kit
8086 Micro-processor and MDA 8086 Trainer Kit
Amit Kumer Podder
 
Traffic Light Controller using 8255
Traffic Light Controller using 8255
Amit Kumer Podder
 
8255 Programmble Peripheral Interface
8255 Programmble Peripheral Interface
Amit Kumer Podder
 
Micro-processor, Micro-controller and Peripherals
Micro-processor, Micro-controller and Peripherals
Amit Kumer Podder
 
Lecture on wire splicing and termination
Lecture on wire splicing and termination
Amit Kumer Podder
 
Familiarization of electronic equipment
Familiarization of electronic equipment
Amit Kumer Podder
 
Arduino Programming on Motor Control
Arduino Programming on Motor Control
Amit Kumer Podder
 
Arduino Programming Familiarization
Arduino Programming Familiarization
Amit Kumer Podder
 
Dot Matrix LED Interfacing using 8255 PPI
Dot Matrix LED Interfacing using 8255 PPI
Amit Kumer Podder
 
8086 Assembly Language and Serial Monitor Operation of 8086 Trainer Kit
8086 Assembly Language and Serial Monitor Operation of 8086 Trainer Kit
Amit Kumer Podder
 
8086 Micro-processor and MDA 8086 Trainer Kit
8086 Micro-processor and MDA 8086 Trainer Kit
Amit Kumer Podder
 
Traffic Light Controller using 8255
Traffic Light Controller using 8255
Amit Kumer Podder
 
8255 Programmble Peripheral Interface
8255 Programmble Peripheral Interface
Amit Kumer Podder
 
Micro-processor, Micro-controller and Peripherals
Micro-processor, Micro-controller and Peripherals
Amit Kumer Podder
 
Lecture on wire splicing and termination
Lecture on wire splicing and termination
Amit Kumer Podder
 
Ad

Recently uploaded (20)

Rapid Prototyping for XR: Lecture 2 - Low Fidelity Prototyping.
Rapid Prototyping for XR: Lecture 2 - Low Fidelity Prototyping.
Mark Billinghurst
 
May 2025: Top 10 Read Articles in Data Mining & Knowledge Management Process
May 2025: Top 10 Read Articles in Data Mining & Knowledge Management Process
IJDKP
 
Complete University of Calculus :: 2nd edition
Complete University of Calculus :: 2nd edition
Shabista Imam
 
machine learning is a advance technology
machine learning is a advance technology
ynancy893
 
Deep Learning for Image Processing on 16 June 2025 MITS.pptx
Deep Learning for Image Processing on 16 June 2025 MITS.pptx
resming1
 
MATERIAL SCIENCE LECTURE NOTES FOR DIPLOMA STUDENTS
MATERIAL SCIENCE LECTURE NOTES FOR DIPLOMA STUDENTS
SAMEER VISHWAKARMA
 
CST413 KTU S7 CSE Machine Learning Clustering K Means Hierarchical Agglomerat...
CST413 KTU S7 CSE Machine Learning Clustering K Means Hierarchical Agglomerat...
resming1
 
System design handwritten notes guidance
System design handwritten notes guidance
Shabista Imam
 
Generative AI & Scientific Research : Catalyst for Innovation, Ethics & Impact
Generative AI & Scientific Research : Catalyst for Innovation, Ethics & Impact
AlqualsaDIResearchGr
 
20CE404-Soil Mechanics - Slide Share PPT
20CE404-Soil Mechanics - Slide Share PPT
saravananr808639
 
Proposal for folders structure division in projects.pdf
Proposal for folders structure division in projects.pdf
Mohamed Ahmed
 
Cadastral Maps
Cadastral Maps
Google
 
Microwatt: Open Tiny Core, Big Possibilities
Microwatt: Open Tiny Core, Big Possibilities
IBM
 
special_edition_using_visual_foxpro_6.pdf
special_edition_using_visual_foxpro_6.pdf
Shabista Imam
 
Abraham Silberschatz-Operating System Concepts (9th,2012.12).pdf
Abraham Silberschatz-Operating System Concepts (9th,2012.12).pdf
Shabista Imam
 
DESIGN OF REINFORCED CONCRETE ELEMENTS S
DESIGN OF REINFORCED CONCRETE ELEMENTS S
prabhusp8
 
retina_biometrics ruet rajshahi bangdesh.pptx
retina_biometrics ruet rajshahi bangdesh.pptx
MdRakibulIslam697135
 
دراسة حاله لقرية تقع في جنوب غرب السودان
دراسة حاله لقرية تقع في جنوب غرب السودان
محمد قصص فتوتة
 
Rapid Prototyping for XR: Lecture 1 Introduction to Prototyping
Rapid Prototyping for XR: Lecture 1 Introduction to Prototyping
Mark Billinghurst
 
International Journal of Advanced Information Technology (IJAIT)
International Journal of Advanced Information Technology (IJAIT)
ijait
 
Rapid Prototyping for XR: Lecture 2 - Low Fidelity Prototyping.
Rapid Prototyping for XR: Lecture 2 - Low Fidelity Prototyping.
Mark Billinghurst
 
May 2025: Top 10 Read Articles in Data Mining & Knowledge Management Process
May 2025: Top 10 Read Articles in Data Mining & Knowledge Management Process
IJDKP
 
Complete University of Calculus :: 2nd edition
Complete University of Calculus :: 2nd edition
Shabista Imam
 
machine learning is a advance technology
machine learning is a advance technology
ynancy893
 
Deep Learning for Image Processing on 16 June 2025 MITS.pptx
Deep Learning for Image Processing on 16 June 2025 MITS.pptx
resming1
 
MATERIAL SCIENCE LECTURE NOTES FOR DIPLOMA STUDENTS
MATERIAL SCIENCE LECTURE NOTES FOR DIPLOMA STUDENTS
SAMEER VISHWAKARMA
 
CST413 KTU S7 CSE Machine Learning Clustering K Means Hierarchical Agglomerat...
CST413 KTU S7 CSE Machine Learning Clustering K Means Hierarchical Agglomerat...
resming1
 
System design handwritten notes guidance
System design handwritten notes guidance
Shabista Imam
 
Generative AI & Scientific Research : Catalyst for Innovation, Ethics & Impact
Generative AI & Scientific Research : Catalyst for Innovation, Ethics & Impact
AlqualsaDIResearchGr
 
20CE404-Soil Mechanics - Slide Share PPT
20CE404-Soil Mechanics - Slide Share PPT
saravananr808639
 
Proposal for folders structure division in projects.pdf
Proposal for folders structure division in projects.pdf
Mohamed Ahmed
 
Cadastral Maps
Cadastral Maps
Google
 
Microwatt: Open Tiny Core, Big Possibilities
Microwatt: Open Tiny Core, Big Possibilities
IBM
 
special_edition_using_visual_foxpro_6.pdf
special_edition_using_visual_foxpro_6.pdf
Shabista Imam
 
Abraham Silberschatz-Operating System Concepts (9th,2012.12).pdf
Abraham Silberschatz-Operating System Concepts (9th,2012.12).pdf
Shabista Imam
 
DESIGN OF REINFORCED CONCRETE ELEMENTS S
DESIGN OF REINFORCED CONCRETE ELEMENTS S
prabhusp8
 
retina_biometrics ruet rajshahi bangdesh.pptx
retina_biometrics ruet rajshahi bangdesh.pptx
MdRakibulIslam697135
 
دراسة حاله لقرية تقع في جنوب غرب السودان
دراسة حاله لقرية تقع في جنوب غرب السودان
محمد قصص فتوتة
 
Rapid Prototyping for XR: Lecture 1 Introduction to Prototyping
Rapid Prototyping for XR: Lecture 1 Introduction to Prototyping
Mark Billinghurst
 
International Journal of Advanced Information Technology (IJAIT)
International Journal of Advanced Information Technology (IJAIT)
ijait
 
Ad

8085 Microprocessor Programming and Instruction set

  • 1. Department of Electrical and Electronic Engineering Khulna University of Engineering & Technology Khulna-9203 Course code : EE 3214 Sessional on Microprocessors, Micro-controllers and Peripherals Presented By Amit Kumer Podder Experiment No. 02
  • 2. (a)Study on 8085 Microprocessor Instruction set (b)Performing different arithmetic operation using 8085 Microprocessor Experiment Name 7/3/2020 Amit Kumer Podder 2
  • 3. Instruction Set of 8085 7/3/2020 Amit Kumer Podder 3
  • 4. Instruction set of 8085 7/3/2020 Amit Kumer Podder 4
  • 5. Instruction set of 8085 7/3/2020 Amit Kumer Podder 5
  • 6. Instruction set of 8085 7/3/2020 Amit Kumer Podder 6
  • 7. Instruction set of 8085 7/3/2020 Amit Kumer Podder 7
  • 8. Instruction set of 8085 7/3/2020 Amit Kumer Podder 8
  • 9. Instruction set of 8085 7/3/2020 Amit Kumer Podder 9
  • 10. Instruction set of 8085 7/3/2020 Amit Kumer Podder 10
  • 11. Instruction set of 8085 7/3/2020 Amit Kumer Podder 11
  • 12. Instruction set of 8085 7/3/2020 Amit Kumer Podder 12
  • 13. • Addition of two 8-bit number with carry • Addition of six 8-bit number with carry • Subtraction of two 8-bit number with borrow • Multiplication of two 8-bit number • Multiplication of two 8-bit number with overflow • Division of two 8-bit number • Block of Data transfer (data copy and paste) Performing the following Program 7/3/2020 Amit Kumer Podder 13
  • 14. Addition with carry Label Mnemonics Op-code Operand START MVI A, ECH MVI B, F1H MVI C, 00H ADD B JNC LOOP1 INR C LOOP1 STA 8090 H MOV A,C STA 8091 H END HLT 7/3/2020 Amit Kumer Podder 14
  • 15. Subtraction with Borrow Label Mnemonics Op-code Operand START MVI A, 02H MVI B, 05H MVI C,00H SUB B LOOP JNC LOOP CMA INR A INR C STA 8090 H MOV A,C STA 8091 H END HLT 7/3/2020 Amit Kumer Podder 15
  • 16. Multiplication of two 8 bit number Label Mnemonics Op-code Operand START MVI B, 03H MVI C, 02H LOOP ADD B DCR C JNZ LOOP STA 8080 H END HLT 7/3/2020 Amit Kumer Podder 16
  • 17. Multiplication with overflow Label Mnemonics Op-code Operand START MVI A, 00H MVI B, FFH MVI C, 0BH MVI D, 00H LOOP1 ADD B JNC LOOP2 INR D LOOP2 DCR C JNZ LOOP1 STA 8080 H MOV A,D STA 8082 H END HLT 7/3/2020 Amit Kumer Podder 17
  • 18. Division of two 8 bit number Label Mnemonics Op-code Operand START MVI A, 0CH MVI B, 02H MVI C, 00H LOOP INR C SUB B JNZ LOOP MOV A,C STA 8080 H END HLT 7/3/2020 Amit Kumer Podder 18
  • 19. Block of data transfer Label Mnemonics Op-code Operand START LXI H, 8070 H LXI D, 8090 H MVI C, 06H LOOP MOV A, M STAX D INX H INX D DCR C JNZ LOOP END HLT 7/3/2020 Amit Kumer Podder 19
  • 20. Block of data addition Label Mnemonics Op-code Operand START XRA A MOV B, A MVI C, 06H LXI H, 8070 H LOOP1 ADD M JNC LOOP2 INR B LOOP2 INX H DCR C JNZ LOOP1 STA 8080 H MOV A,B STA 8090 H END HLT 7/3/2020 Amit Kumer Podder 20