Docsity
Docsity

Prepare for your exams
Prepare for your exams

Study with the several resources on Docsity


Earn points to download
Earn points to download

Earn points by helping other students or get them with a premium plan


Guidelines and tips
Guidelines and tips

Microprocessor and its Applications, Lecture notes of Computer Science

Covering the syllabus of B.Sc CS and BCA (CBCS 2017-2018) Regulations Thiruvalluvar University

Typology: Lecture notes

2018/2019

Uploaded on 10/13/2019

Dr.Rizwan.Ahmed
Dr.Rizwan.Ahmed ๐Ÿ‡ฎ๐Ÿ‡ณ

3.3

(29)

17 documents

1 / 11

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
Microprocessor and its
Applications
(8085 and 8086)
( For B. Sc Computer Science, B.Sc., Physics, and BCA Courses )
Dr.P.Rizwan Ahmed,MCA.,M.Sc., M.Phil.,Ph.D,
HOD, Professor In-Charge, Shift- II
Department of Computer Applications &
Post Graduate Department of Information Technology
Mazharul Uloom College, Ambur โ€“ 635 802
Tamil Nadu, INDIA.
Margham Publications
No.24, Rameswaram Road, T- Nager,
Chennai- 600 017
Phone: 044 โ€“ 22501105,044-48574733
Web Site: www.margham.in
E-mail: www.margham.tn@gmail.com
pf3
pf4
pf5
pf8
pf9
pfa

Partial preview of the text

Download Microprocessor and its Applications and more Lecture notes Computer Science in PDF only on Docsity!

Microprocessor and its

Applications

(8085 and 8086)

( For B. Sc Computer Science, B.Sc., Physics, and BCA Courses )

Dr.P.Rizwan Ahmed,MCA.,M.Sc., M.Phil.,Ph.D,

HOD, Professor In-Charge, Shift- II Department of Computer Applications & Post Graduate Department of Information Technology Mazharul Uloom College, Ambur โ€“ 635 802 Tamil Nadu, INDIA.

Margham Publications

No.24, Rameswaram Road, T- Nager,

Chennai- 600 017

Phone: 044 โ€“ 22501105,044- Web Site: www.margham.in

E-mail: www.margham.tn@gmail.com

Contents

Preface Acknowledgment

Chapter -1 Introduction to Microcomputer

1.1 Overview of Microcomputer structure and operation 1.2 Memory 1.3 Input/Output 1.4 Data Bus 1.5 Address Bus 1.6 Control Bus 1.7 Central Processing Unit(CPU) 1.8 Hardware, Software and Firmware Summary Short Questions Descriptive Questions

Chapter โ€“ 2 8085 Microprocessor

2.1 Microprocessor 2.2 History and Evolution of Microprocessor 2.3 Working of a Microprocessor 2.4 Applications of Microprocessor 2.5 Architecture of 8085 Microprocessor 2.5.1 Register 2.5.1.1 General Purpose Register 2.5.1.2 Temporary Register 2.5.1.3 Special Purpose Register 2.5.2 Memory Pointer Register 2.5.2.1 Stack Pointer 2.5.2.2 Program Counter 2.5.3 Arithmetic Logic Unit 2.5.4 Instruction Decoder 2.5.5 Machine Cycle Encoder 2.5.6 Address Buffer 2.5.7 Data/Address Buffer 2.5.8 Incrementer/Decremeter Address Latch 2.5.9 Interrupt Control

Chapter โ€“ 5 Programming Techniques and Addressing Modes

5.1 Programming Techniques 5.1.1 Continuous loop 5.1.2 Conditional loop 5.1.3 Counter 5.1.4 Indexing 5.2 Addressing Modes of 8085 5.2.1 Immediate Addressing 5.2.2 Direct Addressing 5.2.3 Register Addressing 5.2.4 Register Indirect Addressing 5.2.5. Implied / Implicit Addressing Summary Short Questions Descriptive Questions

Chapter - 6 Assembly Language

6.1 Assembly Language 6.1.1 Advantages of Assembly Language 6.1.2 Disadvantages of Assembly Language 6.2 Assembly Language programming (ALP) 6.3 Assembly Language Statement format 6.4 Assembler Directives 6.5 Instruction Format 6.5.1 One byte instruction 6.5.2 Two byte instruction 6.5.3 Three byte instruction Summary Short Questions Descriptive Questions

Chapter -7 Writing Assembly Language Programs

7.1 Writing Assembly Language Programs 7.1.1 Store 8-bit data 7.1.2 Exchange the content of memory location 7.1.3 Find the 2โ€™s complement 7.1.4 Find the 1โ€™s complement 7.1.5 Addition of two numbers 7.1.6 Find the sum of series 7.1.7 Subtraction of two numbers

7.1.8 Multiplication of two numbers 7.1.9 Arranging numbers in the ascending order 7.1.10 Find the largest of given numbers 7.1.11 Find the factorial of a number 7.1.12 Multiplication of two 16-bit numbers 7.1.13 Find the smallest number in an array 7.1.14 Find Even and Odd numbers 7.1.15 Division of two 8-bit numbers Summary Short Questions Descriptive Questions

Chapter โ€“ 8 Dynamic Debugging and Time Delay

8.1 Dynamic Debugging 8.2 Tools for Dynamic Debugging 8.2.1 Single step 8.2.2 Register Examiner 8.2.3 Break Point 8.3 Counter 8.4 Time Delay 8.4.1 Time delay using one register 8.4.2 Time delay using register pair 8.4.3 Time delay using looping technique Summary Short Questions Descriptive Questions

Chapter โ€“ 9 Debugging Counter and Time Delay program

9.1 Debugging Counter and Time Delay program 9.1.1 Debugging the program 9.1.2 Delay calculations Summary Short Questions Descriptive Questions

Chapter โ€“ 10 Stack and Subroutines

10.1 Stack 10.1 Programming with stack 10.2 Subroutine Summary

Summary Short Questions Descriptive Questions

Chapter โ€“ 15 Hexadecimal Counter, Modulo 10 Counter and Pulse Timing for flashing lights

15.1 Hexadecimal Counter 15.2 Modulo 10 Counter 15.3. Pulse Timing for flashing lights Summary Short Questions Descriptive Questions

Chapter โ€“ 16 Interrupts in 8085

16.1 Interrupts in 8085 16.2 Types of Interrupts 16.2.1Software Interrupts 16.2.2 Hardware Interrupts 16.3 TRAP 16.4 RIM 16.5 SIM Summary Short Questions Descriptive Questions

Chapter โ€“ 17 DMA, Memory Interfacing and I/O Interfacing

17.1 Direct Memory Access (DMA) 17.2 Memory Interfacing 17.3 Semiconductor Memories 17.3.1 RAM 17.3.2 ROM 17.3.2.1 PROM 17.3.2.2 EPROM 17.3.2.3 EEPROM 17.3.3 Difference between RAM and ROM. 17.4 Address Space Partitioning 17.5 I/O Interfacing 17.5.1 I/O Mapped I/O 17.5.2 Memory mapped I/O 17.5.3 Differentiate between Memory mapped I/O and I/O mapped I/O

Summary Short Questions Descriptive Questions

Chapter โ€“ 18 Programmable Peripheral Interface (8255 )

18.1 Programmable Peripheral Interface (8255) 18.2 Pin diagram of 8255 18.3 Signal diagram of 8255 18.4 Features of 8255 18.5 Block Diagram of 8255 18.6 Modes of operation of 8255 Summary Short Questions Descriptive Questions

Chapter โ€“ 19 Applications

19.1 Stepper Motor 19.2 Temperature Control Summary Review Questions

Chapter โ€“ 20 8085 Programming

Exercise 1: Block data transfer Exercise 2: Adding 2 BCD numbers without carry Exercise 3: Adding 2 Hexa-decimal numbers without carry Exercise 4: Multiplication of two 8 bit numbers Exercise 5: Division of two 8 bit numbers Exercise 6: 1โ€™s complement of a number Exercise 7: 2โ€™s complement of a number Exercise 8: Swapping the numbers Exercise 9: Write an assembly program to find greatest between two numbers Exercise 10: Finding the smallest number in an array. Exercise 11: Sorting of an array of 8 bit data in ascending order Exercise 12: Sorting of an array of 8 bit data in descending order

Chapter โ€“ 21 8086 Microprocessor and Architecture

21.1 Introduction to 8086 Microprocessor 21.2 Features of 8086 Microprocessor 21.3 Pin diagram of 8086 21.4 Signal group of 8086 21.5 Signal Description of 8086

23.7 The 8086 Loop Instructions 23.8 Instruction Timing and Delay Loops 23.8.1 Delay loops for timing Review Questions

Chapter โ€“ 24 String, Procedures and Macros

24.1 The 8086 String instructions 24.1.1 Moving a String 24.1.2 Using compare string byte to check password 24.2 Procedures and Macros 24.2.1 Procedure 24.2.1.1 The 8086 CALL and RET Instructions 24.2.2.2 The 8086 Stack 24.2.2.3 Using PUSH and POP 24.2.2.4 Passing parameters to and from procedures 24.2.2.5 Reentrant Procedures and Recursive Procedure 24.2.2.6 Writing and debugging programs containing procedures 24.2.2.7 Accessing Procedure 24.3 Macros 24.3.1 Comparison Macros and Procedures 24.3.2.Using Parameters in macros Review Questions

Chapter โ€“ 25 Instruction Descriptions and Assembler Directives

25.1 Instruction Description 25.2 Assembler Directives Review Questions

Chapter โ€“ 26 Interfacing Peripherals

26.1 8255 PPI

26.2 8253/8254 PIT

26.3 8237 DMAC

26.4 8259 PIC

26.5 8251 USART Review Questions

APPENDIX A : Two marks Questions with Answer

APPENDIX B : University Question Papers

APPENDIX C: Intel 8085 Instruction Code

APPENDIX D Intel 8085 Opcode Sheet