SlideShare a Scribd company logo
MICROPROCESSOR 8085
LECTURE 15
PROGRAMMING EXAMPLE-VI
PROF. SANDIP DAS
12. 8085 programming example iv
A=45H=0100 0101
B=45H=0100 0101
CY=1
CY=0
0 1 0 0 0 1 0 10
ACCUMULAT
OR
CARRY
STATUS
0 0 1 0 0 0 1 01
ACCUMULAT
OR
CARRY
STATUS
Solution:
So, new A=0010 0010
Next instruction says, XOR B
Where, B=0100 0101
Doing A xor B, we get-
0110 0111
Which is stored in accumulator, thus the content of A=0110
0111
Solution:
12. 8085 programming example iv

More Related Content

PPTX
PPTX
31. 8086 addressing modes
PPTX
30. 8086 microprocessor pipelined architecture
PPTX
29. 8086 microprocessor pin diagram
PPTX
28. 8251 programmable communication interface
PPTX
27. 8259 programmable interrupt controller
PPTX
26. 8255 control word programming
PPTX
25. 8255 programmable peripheral interface
31. 8086 addressing modes
30. 8086 microprocessor pipelined architecture
29. 8086 microprocessor pin diagram
28. 8251 programmable communication interface
27. 8259 programmable interrupt controller
26. 8255 control word programming
25. 8255 programmable peripheral interface

More from sandip das (20)

PPTX
24. direct memory access
PPTX
23. serial and parallel data communication
PPTX
22. interrupts ii
PPTX
21. interrupts
PPTX
20. io interfacing ii
PPTX
19. io interfacing i
PPTX
18. memory interfacing iv
PPTX
17. memory interfacing iii
PPTX
16. memory interfacing ii
PPTX
15. memory interfacing i
PPTX
14. 8085 programming example vi
PPTX
13. 8085 programming example v
PPTX
11. 8085 programming example iii
PPTX
10. 8085 programming example ii
PPTX
9. 8085 instruction set v
PPTX
8. 8085 programming example
PPTX
7. 8085 instruction set iv
PPTX
6. 8085 instruction set iii
PPTX
5. 8085 instruction set ii
PPTX
4. 8085 instruction set i
24. direct memory access
23. serial and parallel data communication
22. interrupts ii
21. interrupts
20. io interfacing ii
19. io interfacing i
18. memory interfacing iv
17. memory interfacing iii
16. memory interfacing ii
15. memory interfacing i
14. 8085 programming example vi
13. 8085 programming example v
11. 8085 programming example iii
10. 8085 programming example ii
9. 8085 instruction set v
8. 8085 programming example
7. 8085 instruction set iv
6. 8085 instruction set iii
5. 8085 instruction set ii
4. 8085 instruction set i
Ad

Recently uploaded (20)

PDF
Digital Logic Computer Design lecture notes
DOCX
ASol_English-Language-Literature-Set-1-27-02-2023-converted.docx
PDF
Mohammad Mahdi Farshadian CV - Prospective PhD Student 2026
PPTX
UNIT-1 - COAL BASED THERMAL POWER PLANTS
PDF
Embodied AI: Ushering in the Next Era of Intelligent Systems
PPT
Mechanical Engineering MATERIALS Selection
DOCX
573137875-Attendance-Management-System-original
PDF
TFEC-4-2020-Design-Guide-for-Timber-Roof-Trusses.pdf
PPTX
web development for engineering and engineering
PPTX
Infosys Presentation by1.Riyan Bagwan 2.Samadhan Naiknavare 3.Gaurav Shinde 4...
PDF
R24 SURVEYING LAB MANUAL for civil enggi
PPTX
KTU 2019 -S7-MCN 401 MODULE 2-VINAY.pptx
PDF
PPT on Performance Review to get promotions
PPTX
CARTOGRAPHY AND GEOINFORMATION VISUALIZATION chapter1 NPTE (2).pptx
PPTX
MCN 401 KTU-2019-PPE KITS-MODULE 2.pptx
PDF
Operating System & Kernel Study Guide-1 - converted.pdf
PDF
Automation-in-Manufacturing-Chapter-Introduction.pdf
PDF
PRIZ Academy - 9 Windows Thinking Where to Invest Today to Win Tomorrow.pdf
PPTX
Lecture Notes Electrical Wiring System Components
PPTX
Foundation to blockchain - A guide to Blockchain Tech
Digital Logic Computer Design lecture notes
ASol_English-Language-Literature-Set-1-27-02-2023-converted.docx
Mohammad Mahdi Farshadian CV - Prospective PhD Student 2026
UNIT-1 - COAL BASED THERMAL POWER PLANTS
Embodied AI: Ushering in the Next Era of Intelligent Systems
Mechanical Engineering MATERIALS Selection
573137875-Attendance-Management-System-original
TFEC-4-2020-Design-Guide-for-Timber-Roof-Trusses.pdf
web development for engineering and engineering
Infosys Presentation by1.Riyan Bagwan 2.Samadhan Naiknavare 3.Gaurav Shinde 4...
R24 SURVEYING LAB MANUAL for civil enggi
KTU 2019 -S7-MCN 401 MODULE 2-VINAY.pptx
PPT on Performance Review to get promotions
CARTOGRAPHY AND GEOINFORMATION VISUALIZATION chapter1 NPTE (2).pptx
MCN 401 KTU-2019-PPE KITS-MODULE 2.pptx
Operating System & Kernel Study Guide-1 - converted.pdf
Automation-in-Manufacturing-Chapter-Introduction.pdf
PRIZ Academy - 9 Windows Thinking Where to Invest Today to Win Tomorrow.pdf
Lecture Notes Electrical Wiring System Components
Foundation to blockchain - A guide to Blockchain Tech
Ad

12. 8085 programming example iv