SlideShare a Scribd company logo
Address Instruction Opcode
6000, 1 MVI A,05H 3E, 05
2, 3 ADI 02H C6, 02
4 MOV B,A 47
5 RST1 CF
6000
X X 0 X 0 X 0 X
SP
PC
A
B C
D E
H L
Flag
6002
6004
6005
S Z - A
C
- P - C
Y
05
07
07
0 0 0 0 0 0 0 0
Address Instruction Opcode
6000, 1 MVI A,05H 3E, 05
2, 3 SUI 02H D6, 02
4 MOV B,A 47
5 RST1 CF
6000
X X 0 X 0 X 0 X
SP
PC
A
B C
D E
H L
Flag
6002
6004
6005
S Z - A
C
- P - C
Y
05
03
03
0 0 0 0 0 1 0 0
Address Instruction Opcode
6000, 1 MVI A,08H 3E, 08
2, 3 MVI B,09H 06, 09
4 ADD B 80
5 MOV C,A 4F
6 RST1 CF
6000
X X 0 X 0 X 0 X
SP
PC
A
B C
D E
H L
Flag
6002
6004
6005
S Z - A
C
- P - C
Y
08
11
0 0 0 1 0 1 0 0
09
6006
11
Address Instruction Opcode
6000, 1 MVI A,08H 3E, 08
2, 3 MVI B,09H 06, 09
4 SUB B 90
5 MOV C,A 4F
6 RST1 CF
6000
X X 0 X 0 X 0 X
SP
PC
A
B C
D E
H L
Flag
6002
6004
6005
S Z - A
C
- P - C
Y
08
FF
1 0 0 1 0 1 0 1
09
6006
FF
Addition & subtraction using 8085 microprocessor

More Related Content

More from Manoj Babar

Exp 10 Waveform Generation using DAC0808 and 8085.pptx
Exp 10 Waveform Generation using DAC0808 and 8085.pptxExp 10 Waveform Generation using DAC0808 and 8085.pptx
Exp 10 Waveform Generation using DAC0808 and 8085.pptx
Manoj Babar
 
Exp 8 LED Blinking using 8255.pptx
Exp 8 LED Blinking using 8255.pptxExp 8 LED Blinking using 8255.pptx
Exp 8 LED Blinking using 8255.pptx
Manoj Babar
 
Exp 7 IO & BSR Mode.pptx
Exp 7 IO & BSR Mode.pptxExp 7 IO & BSR Mode.pptx
Exp 7 IO & BSR Mode.pptx
Manoj Babar
 
Exp 6 Largest & Smallest No..pptx
Exp 6 Largest & Smallest No..pptxExp 6 Largest & Smallest No..pptx
Exp 6 Largest & Smallest No..pptx
Manoj Babar
 
Exp 5 Even & Odd No. Counting.pptx
Exp 5 Even & Odd No. Counting.pptxExp 5 Even & Odd No. Counting.pptx
Exp 5 Even & Odd No. Counting.pptx
Manoj Babar
 
Exp 4 Data Conversion (H2B, B2A).pptx
Exp 4 Data Conversion (H2B, B2A).pptxExp 4 Data Conversion (H2B, B2A).pptx
Exp 4 Data Conversion (H2B, B2A).pptx
Manoj Babar
 
Exp 3 Block Transfer & Block Exchange.pptx
Exp 3 Block Transfer & Block Exchange.pptxExp 3 Block Transfer & Block Exchange.pptx
Exp 3 Block Transfer & Block Exchange.pptx
Manoj Babar
 
8051 addressing modes & instruction set
8051 addressing modes & instruction set8051 addressing modes & instruction set
8051 addressing modes & instruction set
Manoj Babar
 
8255 mode 1 & 2
8255 mode 1 & 28255 mode 1 & 2
8255 mode 1 & 2
Manoj Babar
 

More from Manoj Babar (9)

Exp 10 Waveform Generation using DAC0808 and 8085.pptx
Exp 10 Waveform Generation using DAC0808 and 8085.pptxExp 10 Waveform Generation using DAC0808 and 8085.pptx
Exp 10 Waveform Generation using DAC0808 and 8085.pptx
 
Exp 8 LED Blinking using 8255.pptx
Exp 8 LED Blinking using 8255.pptxExp 8 LED Blinking using 8255.pptx
Exp 8 LED Blinking using 8255.pptx
 
Exp 7 IO & BSR Mode.pptx
Exp 7 IO & BSR Mode.pptxExp 7 IO & BSR Mode.pptx
Exp 7 IO & BSR Mode.pptx
 
Exp 6 Largest & Smallest No..pptx
Exp 6 Largest & Smallest No..pptxExp 6 Largest & Smallest No..pptx
Exp 6 Largest & Smallest No..pptx
 
Exp 5 Even & Odd No. Counting.pptx
Exp 5 Even & Odd No. Counting.pptxExp 5 Even & Odd No. Counting.pptx
Exp 5 Even & Odd No. Counting.pptx
 
Exp 4 Data Conversion (H2B, B2A).pptx
Exp 4 Data Conversion (H2B, B2A).pptxExp 4 Data Conversion (H2B, B2A).pptx
Exp 4 Data Conversion (H2B, B2A).pptx
 
Exp 3 Block Transfer & Block Exchange.pptx
Exp 3 Block Transfer & Block Exchange.pptxExp 3 Block Transfer & Block Exchange.pptx
Exp 3 Block Transfer & Block Exchange.pptx
 
8051 addressing modes & instruction set
8051 addressing modes & instruction set8051 addressing modes & instruction set
8051 addressing modes & instruction set
 
8255 mode 1 & 2
8255 mode 1 & 28255 mode 1 & 2
8255 mode 1 & 2
 

Recently uploaded

AI + Data Community Tour - Build the Next Generation of Apps with the Einstei...
AI + Data Community Tour - Build the Next Generation of Apps with the Einstei...AI + Data Community Tour - Build the Next Generation of Apps with the Einstei...
AI + Data Community Tour - Build the Next Generation of Apps with the Einstei...
Paris Salesforce Developer Group
 
Prediction of Electrical Energy Efficiency Using Information on Consumer's Ac...
Prediction of Electrical Energy Efficiency Using Information on Consumer's Ac...Prediction of Electrical Energy Efficiency Using Information on Consumer's Ac...
Prediction of Electrical Energy Efficiency Using Information on Consumer's Ac...
PriyankaKilaniya
 
一比一原版(CalArts毕业证)加利福尼亚艺术学院毕业证如何办理
一比一原版(CalArts毕业证)加利福尼亚艺术学院毕业证如何办理一比一原版(CalArts毕业证)加利福尼亚艺术学院毕业证如何办理
一比一原版(CalArts毕业证)加利福尼亚艺术学院毕业证如何办理
ecqow
 
Generative AI Use cases applications solutions and implementation.pdf
Generative AI Use cases applications solutions and implementation.pdfGenerative AI Use cases applications solutions and implementation.pdf
Generative AI Use cases applications solutions and implementation.pdf
mahaffeycheryld
 
一比一原版(uofo毕业证书)美国俄勒冈大学毕业证如何办理
一比一原版(uofo毕业证书)美国俄勒冈大学毕业证如何办理一比一原版(uofo毕业证书)美国俄勒冈大学毕业证如何办理
一比一原版(uofo毕业证书)美国俄勒冈大学毕业证如何办理
upoux
 
openshift technical overview - Flow of openshift containerisatoin
openshift technical overview - Flow of openshift containerisatoinopenshift technical overview - Flow of openshift containerisatoin
openshift technical overview - Flow of openshift containerisatoin
snaprevwdev
 
P5 Working Drawings.pdf floor plan, civil
P5 Working Drawings.pdf floor plan, civilP5 Working Drawings.pdf floor plan, civil
P5 Working Drawings.pdf floor plan, civil
AnasAhmadNoor
 
一比一原版(uoft毕业证书)加拿大多伦多大学毕业证如何办理
一比一原版(uoft毕业证书)加拿大多伦多大学毕业证如何办理一比一原版(uoft毕业证书)加拿大多伦多大学毕业证如何办理
一比一原版(uoft毕业证书)加拿大多伦多大学毕业证如何办理
sydezfe
 
Levelised Cost of Hydrogen (LCOH) Calculator Manual
Levelised Cost of Hydrogen  (LCOH) Calculator ManualLevelised Cost of Hydrogen  (LCOH) Calculator Manual
Levelised Cost of Hydrogen (LCOH) Calculator Manual
Massimo Talia
 
一比一原版(USF毕业证)旧金山大学毕业证如何办理
一比一原版(USF毕业证)旧金山大学毕业证如何办理一比一原版(USF毕业证)旧金山大学毕业证如何办理
一比一原版(USF毕业证)旧金山大学毕业证如何办理
uqyfuc
 
Power Electronics- AC -AC Converters.pptx
Power Electronics- AC -AC Converters.pptxPower Electronics- AC -AC Converters.pptx
Power Electronics- AC -AC Converters.pptx
Poornima D
 
Null Bangalore | Pentesters Approach to AWS IAM
Null Bangalore | Pentesters Approach to AWS IAMNull Bangalore | Pentesters Approach to AWS IAM
Null Bangalore | Pentesters Approach to AWS IAM
Divyanshu
 
FULL STACK PROGRAMMING - Both Front End and Back End
FULL STACK PROGRAMMING - Both Front End and Back EndFULL STACK PROGRAMMING - Both Front End and Back End
FULL STACK PROGRAMMING - Both Front End and Back End
PreethaV16
 
Open Channel Flow: fluid flow with a free surface
Open Channel Flow: fluid flow with a free surfaceOpen Channel Flow: fluid flow with a free surface
Open Channel Flow: fluid flow with a free surface
Indrajeet sahu
 
UNIT 4 LINEAR INTEGRATED CIRCUITS-DIGITAL ICS
UNIT 4 LINEAR INTEGRATED CIRCUITS-DIGITAL ICSUNIT 4 LINEAR INTEGRATED CIRCUITS-DIGITAL ICS
UNIT 4 LINEAR INTEGRATED CIRCUITS-DIGITAL ICS
vmspraneeth
 
Assistant Engineer (Chemical) Interview Questions.pdf
Assistant Engineer (Chemical) Interview Questions.pdfAssistant Engineer (Chemical) Interview Questions.pdf
Assistant Engineer (Chemical) Interview Questions.pdf
Seetal Daas
 
This study Examines the Effectiveness of Talent Procurement through the Imple...
This study Examines the Effectiveness of Talent Procurement through the Imple...This study Examines the Effectiveness of Talent Procurement through the Imple...
This study Examines the Effectiveness of Talent Procurement through the Imple...
DharmaBanothu
 
Applications of artificial Intelligence in Mechanical Engineering.pdf
Applications of artificial Intelligence in Mechanical Engineering.pdfApplications of artificial Intelligence in Mechanical Engineering.pdf
Applications of artificial Intelligence in Mechanical Engineering.pdf
Atif Razi
 
smart pill dispenser is designed to improve medication adherence and safety f...
smart pill dispenser is designed to improve medication adherence and safety f...smart pill dispenser is designed to improve medication adherence and safety f...
smart pill dispenser is designed to improve medication adherence and safety f...
um7474492
 
Object Oriented Analysis and Design - OOAD
Object Oriented Analysis and Design - OOADObject Oriented Analysis and Design - OOAD
Object Oriented Analysis and Design - OOAD
PreethaV16
 

Recently uploaded (20)

AI + Data Community Tour - Build the Next Generation of Apps with the Einstei...
AI + Data Community Tour - Build the Next Generation of Apps with the Einstei...AI + Data Community Tour - Build the Next Generation of Apps with the Einstei...
AI + Data Community Tour - Build the Next Generation of Apps with the Einstei...
 
Prediction of Electrical Energy Efficiency Using Information on Consumer's Ac...
Prediction of Electrical Energy Efficiency Using Information on Consumer's Ac...Prediction of Electrical Energy Efficiency Using Information on Consumer's Ac...
Prediction of Electrical Energy Efficiency Using Information on Consumer's Ac...
 
一比一原版(CalArts毕业证)加利福尼亚艺术学院毕业证如何办理
一比一原版(CalArts毕业证)加利福尼亚艺术学院毕业证如何办理一比一原版(CalArts毕业证)加利福尼亚艺术学院毕业证如何办理
一比一原版(CalArts毕业证)加利福尼亚艺术学院毕业证如何办理
 
Generative AI Use cases applications solutions and implementation.pdf
Generative AI Use cases applications solutions and implementation.pdfGenerative AI Use cases applications solutions and implementation.pdf
Generative AI Use cases applications solutions and implementation.pdf
 
一比一原版(uofo毕业证书)美国俄勒冈大学毕业证如何办理
一比一原版(uofo毕业证书)美国俄勒冈大学毕业证如何办理一比一原版(uofo毕业证书)美国俄勒冈大学毕业证如何办理
一比一原版(uofo毕业证书)美国俄勒冈大学毕业证如何办理
 
openshift technical overview - Flow of openshift containerisatoin
openshift technical overview - Flow of openshift containerisatoinopenshift technical overview - Flow of openshift containerisatoin
openshift technical overview - Flow of openshift containerisatoin
 
P5 Working Drawings.pdf floor plan, civil
P5 Working Drawings.pdf floor plan, civilP5 Working Drawings.pdf floor plan, civil
P5 Working Drawings.pdf floor plan, civil
 
一比一原版(uoft毕业证书)加拿大多伦多大学毕业证如何办理
一比一原版(uoft毕业证书)加拿大多伦多大学毕业证如何办理一比一原版(uoft毕业证书)加拿大多伦多大学毕业证如何办理
一比一原版(uoft毕业证书)加拿大多伦多大学毕业证如何办理
 
Levelised Cost of Hydrogen (LCOH) Calculator Manual
Levelised Cost of Hydrogen  (LCOH) Calculator ManualLevelised Cost of Hydrogen  (LCOH) Calculator Manual
Levelised Cost of Hydrogen (LCOH) Calculator Manual
 
一比一原版(USF毕业证)旧金山大学毕业证如何办理
一比一原版(USF毕业证)旧金山大学毕业证如何办理一比一原版(USF毕业证)旧金山大学毕业证如何办理
一比一原版(USF毕业证)旧金山大学毕业证如何办理
 
Power Electronics- AC -AC Converters.pptx
Power Electronics- AC -AC Converters.pptxPower Electronics- AC -AC Converters.pptx
Power Electronics- AC -AC Converters.pptx
 
Null Bangalore | Pentesters Approach to AWS IAM
Null Bangalore | Pentesters Approach to AWS IAMNull Bangalore | Pentesters Approach to AWS IAM
Null Bangalore | Pentesters Approach to AWS IAM
 
FULL STACK PROGRAMMING - Both Front End and Back End
FULL STACK PROGRAMMING - Both Front End and Back EndFULL STACK PROGRAMMING - Both Front End and Back End
FULL STACK PROGRAMMING - Both Front End and Back End
 
Open Channel Flow: fluid flow with a free surface
Open Channel Flow: fluid flow with a free surfaceOpen Channel Flow: fluid flow with a free surface
Open Channel Flow: fluid flow with a free surface
 
UNIT 4 LINEAR INTEGRATED CIRCUITS-DIGITAL ICS
UNIT 4 LINEAR INTEGRATED CIRCUITS-DIGITAL ICSUNIT 4 LINEAR INTEGRATED CIRCUITS-DIGITAL ICS
UNIT 4 LINEAR INTEGRATED CIRCUITS-DIGITAL ICS
 
Assistant Engineer (Chemical) Interview Questions.pdf
Assistant Engineer (Chemical) Interview Questions.pdfAssistant Engineer (Chemical) Interview Questions.pdf
Assistant Engineer (Chemical) Interview Questions.pdf
 
This study Examines the Effectiveness of Talent Procurement through the Imple...
This study Examines the Effectiveness of Talent Procurement through the Imple...This study Examines the Effectiveness of Talent Procurement through the Imple...
This study Examines the Effectiveness of Talent Procurement through the Imple...
 
Applications of artificial Intelligence in Mechanical Engineering.pdf
Applications of artificial Intelligence in Mechanical Engineering.pdfApplications of artificial Intelligence in Mechanical Engineering.pdf
Applications of artificial Intelligence in Mechanical Engineering.pdf
 
smart pill dispenser is designed to improve medication adherence and safety f...
smart pill dispenser is designed to improve medication adherence and safety f...smart pill dispenser is designed to improve medication adherence and safety f...
smart pill dispenser is designed to improve medication adherence and safety f...
 
Object Oriented Analysis and Design - OOAD
Object Oriented Analysis and Design - OOADObject Oriented Analysis and Design - OOAD
Object Oriented Analysis and Design - OOAD
 

Addition & subtraction using 8085 microprocessor

  • 1.
  • 2. Address Instruction Opcode 6000, 1 MVI A,05H 3E, 05 2, 3 ADI 02H C6, 02 4 MOV B,A 47 5 RST1 CF 6000 X X 0 X 0 X 0 X SP PC A B C D E H L Flag 6002 6004 6005 S Z - A C - P - C Y 05 07 07 0 0 0 0 0 0 0 0
  • 3. Address Instruction Opcode 6000, 1 MVI A,05H 3E, 05 2, 3 SUI 02H D6, 02 4 MOV B,A 47 5 RST1 CF 6000 X X 0 X 0 X 0 X SP PC A B C D E H L Flag 6002 6004 6005 S Z - A C - P - C Y 05 03 03 0 0 0 0 0 1 0 0
  • 4.
  • 5. Address Instruction Opcode 6000, 1 MVI A,08H 3E, 08 2, 3 MVI B,09H 06, 09 4 ADD B 80 5 MOV C,A 4F 6 RST1 CF 6000 X X 0 X 0 X 0 X SP PC A B C D E H L Flag 6002 6004 6005 S Z - A C - P - C Y 08 11 0 0 0 1 0 1 0 0 09 6006 11
  • 6. Address Instruction Opcode 6000, 1 MVI A,08H 3E, 08 2, 3 MVI B,09H 06, 09 4 SUB B 90 5 MOV C,A 4F 6 RST1 CF 6000 X X 0 X 0 X 0 X SP PC A B C D E H L Flag 6002 6004 6005 S Z - A C - P - C Y 08 FF 1 0 0 1 0 1 0 1 09 6006 FF