Professional Documents
Culture Documents
Name of the Faculty: Subject with Code: Microprocessor and Interfaces (4CS1A)
Department: Department of CSE (SETG) Semester & Section: IV Date of Preparation:
Total No. of Lectures Planned: 31 Lecture Days:
Actual Delivery
For Academic
Covered form
Planned Date
Lecture No.
References
Questions
Remarks
Date
Blown Up Syllabus
Zero lecture 0
EXPERT LECTURE -2
GUEST LECTURE
Unit:-1
Introduction to Micro Computers
Microprocessors
Historical Perspective
Binary Digits
Microprocessor as a
Programmable Device
1
Moore Law
Memory
Microprocessor as CPU(MPU)
Organization Of Microprocessor
Based Systems
Microprocessor ALU, Register
Array, Control Unit
Microcontrollers
Advancement in Semiconductor
Technology SSI, MSI, LSI, VLSI,
SLSI
2
Microcomputers
Traditional Block Diagram of Micro
Controller
Block diagram of Microcomputer
JIET GROUP OF INSTITUTIONS
(A Constitute of Arun Shanti Education Trust, Jaipur) Mogra
National Highway No.65 New Pali Road, Jodhpur-342 002 (Raj.)
Tel: 0291-2868152/53, *E-mail: info@jietjodhpur.com
Web: www.jietjodhpur.com
ACADEMIC ADMINISTRATION OF JGI
Microcontroller: - Computer on a
Chip.
Unit:-2
Assembly Language & Programming in
8085
Assembly Language
Program Structures
Sequential
Conditional
Iterative T1,
8
Program for various T2
structure
Programming Technique
Looping
(a) Continuous Loop T1,
9
(b) Conditional Loop T2
Counting
Indexing
Debugging a Program
Static Debugging 10 T2
Dynamic Debugging
JIET GROUP OF INSTITUTIONS
(A Constitute of Arun Shanti Education Trust, Jaipur) Mogra
National Highway No.65 New Pali Road, Jodhpur-342 002 (Raj.)
Tel: 0291-2868152/53, *E-mail: info@jietjodhpur.com
Web: www.jietjodhpur.com
ACADEMIC ADMINISTRATION OF JGI
Unit 3:-
Peripherals & Their Interfacing with
8085-Ist
Counter & Timing Delay
Definitions of Important Terms 11 T2
T-State
Machine Cycles
Instruction Cycle
Stack
Introduction to Stack
T1,
Difference b/w Stack & 16
T2
Stack Pointer
Defining Stack in R/W
JIET GROUP OF INSTITUTIONS
(A Constitute of Arun Shanti Education Trust, Jaipur) Mogra
National Highway No.65 New Pali Road, Jodhpur-342 002 (Raj.)
Tel: 0291-2868152/53, *E-mail: info@jietjodhpur.com
Web: www.jietjodhpur.com
ACADEMIC ADMINISTRATION OF JGI
Memory
Instructions related to Stack
Application of PUSH & POP
Instruction
Interrupt Structure & Its Programming
Introduction to Interrupts
Software and Hardware
Interrupts
Accessing Interrupt Service Routine
T1,
Enabling/Disabling 17
T2
Interrupts by EI &DI
Priorities of Interrupts
RIM Instruction
SIM Instruction
Vectored Interrupts
Triggering Levels
Maskable & Non Maskable
T1,
Interrupts 18
T2
RST Instruction (Timing
Diagram)
Memory Interfacing
Memory Interfacing Memory
Flip Flop or Latch as storage Element
Memory Mapping & Address Mapping
Tri State Devices Buffer 19 T2
Examples Of Buffer
Decoder & Encoder
D Flip Flop : Latched &
Clocked
Architecture of (PIC) 8259 Controller
Introduction to 8259 Controller
Pin Diagram of 8259
Registers of 8259
20 T2
Working of 8259
Initialization Command Word
Unit:-4
Peripherals and Their Interfacing with
8085-II
22 T1
Interfacing I/O Ports
Interfacing I/O Devices using
Peripheral Mapped Technique
JIET GROUP OF INSTITUTIONS
(A Constitute of Arun Shanti Education Trust, Jaipur) Mogra
National Highway No.65 New Pali Road, Jodhpur-342 002 (Raj.)
Tel: 0291-2868152/53, *E-mail: info@jietjodhpur.com
Web: www.jietjodhpur.com
ACADEMIC ADMINISTRATION OF JGI
Text/References:
1. Microprocessor architecture, programming, and applications with the 8085 By Ramesh S. Gaonkar
2. Introduction to Microprocessor By Aditya P. Mathur, TMH
3. Microprocessor & Interfaceing By Douglas V. Hall,TMH
4. Microprocessor & Peripheral By A.K.Ray, K.M. Bhurchandi,TMH
JIET GROUP OF INSTITUTIONS
(A Constitute of Arun Shanti Education Trust, Jaipur) Mogra
National Highway No.65 New Pali Road, Jodhpur-342 002 (Raj.)
Tel: 0291-2868152/53, *E-mail: info@jietjodhpur.com
Web: www.jietjodhpur.com
ACADEMIC ADMINISTRATION OF JGI
6. What are different flags available in 8085 microprocessor? Explain each in brief.
(RTU 2012, RU 2002)
7. Describe the externally initiated signals & control signals and status signals used in 8085.
(RU 2006)
8. What are the advantages of an assembly language in comparison with high level Language?
9. Explain how address & data bus can be demultiplexed in 8085- microprocessor with the help
of Block Diagram? (RTU 2012)
10. Compare static RAM with dynamic RAM. (RTU 2010)
11. Give the classification of the memory.
JIET GROUP OF INSTITUTIONS
(A Constitute of Arun Shanti Education Trust, Jaipur) Mogra
National Highway No.65 New Pali Road, Jodhpur-342 002 (Raj.)
Tel: 0291-2868152/53, *E-mail: info@jietjodhpur.com
Web: www.jietjodhpur.com
ACADEMIC ADMINISTRATION OF JGI
12. A register in the microprocessor that keeps track of the answer or results of any arithmetic or logic
operation is the_________.
13. Which bus is a bidirectional bus?
14. Which of the bus is primarily used to carry signals that direct other ICs to find out what type of
operation is being performed?
15. How many bytes make a word of 32 bits?
16. Calculate the number of registers in a 64K memory board.
17. Specify the function of the address bus and the direction of the information flow on the address bus.
18. List the name of 16 bit registers in 8085 microprocessor.
19. What is the function of the WR’ signal on the memory chip?
20. How many address lines are necessary to address 2048K of memory?
21. List the name of Control and Status Signals.
22. Microprocessor 8085 is the enhanced version of _________ with essentially the same instruction
set.
23. The number of status flags in 8085 are__________.
24. Can ROM be used as stack? (True/False)
25. 8085 was introduced in __________.
26. The First Microprocessor was__________.
27. How many nibbles are 16 bits?
28. An instruction register is storage for______________.
29. In microprocessor architecture, flag indicates the______________.
30. The external system bus architecture is created using from ______ architecture.
31. The RAM which is created using bipolar transistors is called___________.
32. Which RAM is created using MOS transistors.
33. ________ is usually the first level of memory access by the microprocessor.
34. DIP stands for__________________.
35. ALE stands for________________.
36. Zero Flag is to _____ if the result of an arithmetic operation is zero.
37. There are two power connection for +5 volts in 8085 they are_______&________.
JIET GROUP OF INSTITUTIONS
(A Constitute of Arun Shanti Education Trust, Jaipur) Mogra
National Highway No.65 New Pali Road, Jodhpur-342 002 (Raj.)
Tel: 0291-2868152/53, *E-mail: info@jietjodhpur.com
Web: www.jietjodhpur.com
ACADEMIC ADMINISTRATION OF JGI
38. ________and ________lines provide the 8085 with a DMA capability by allowing another
processor on the same system bus to request control of the buses.
39. ______ memory locations can be addressed directly by Intel 8085 microprocessor.
40. What is the use of Bidirectional buffers?
41. Can an RC circuit be used as clock source for 8085?
42. What does Quality factor mean?
\
JIET GROUP OF INSTITUTIONS
(A Constitute of Arun Shanti Education Trust, Jaipur) Mogra
National Highway No.65 New Pali Road, Jodhpur-342 002 (Raj.)
Tel: 0291-2868152/53, *E-mail: info@jietjodhpur.com
Web: www.jietjodhpur.com
ACADEMIC ADMINISTRATION OF JGI
4. Compare the action of microprocessor 8085 for the following pairs of instructions.
(a) MVI A, 00H and XRA A
(b) SUB B and CMP B
(c) JMP 2700 H and PCHL
(d) LDA 2000 H and LHLD 2000H. (RU- 2005)
6. Write an assembly language program to multiply two 8-bit data stored at location 2050H and
2051H and store the 16-bit result at 2052H and 2053H.
7. Find the square- root of the number stored at memory location 2550H. Store the result at memory
location 2551H.
16. To reset carry without affecting accumulator contents, we have to use ________ instruction.
17. In order to complement the lower order nibble of the accumulator, we can use ________
instruction.
18. Let the contents of C register be 00000000. The contents of C register after execution of DCR C is
_________.
19. Which instruction will never affect the zero flag?
20. A single instruction to clear the lower 4 bits of accumulator in 8085 is________.
21. To save accumulator value on to the stack, which of the instruction may be used?
22. If the contents of register B are greater than the contents of accumulator, CMP B will affect carry
flag, zero flag respectively as______&_____.
23. The status of S, Z, CY flags after execution of following instructions are________.
MVI A, A9H
MVI B, 57H
ADD B
ORA A
24. After the execution of XRA A instruction, which _________ flag is set?
25. The first machine cycle of an instruction is always___________.
26. What is the addressing mode used in instruction MOV M, C?
27. How many and what are the machine cycles needed for execution of MOV D, C?
28. The total number of memory accesses involved (inclusive of the op-code fetch) when an 8085
processor executes the instruction LDA 2003 is_______.
29. What do you mean by wait state? What is its need?
JIET GROUP OF INSTITUTIONS
(A Constitute of Arun Shanti Education Trust, Jaipur) Mogra
National Highway No.65 New Pali Road, Jodhpur-342 002 (Raj.)
Tel: 0291-2868152/53, *E-mail: info@jietjodhpur.com
Web: www.jietjodhpur.com
ACADEMIC ADMINISTRATION OF JGI
2. Illustrate the memory addresses range from 0000H to 00FFH of the chip with 256 byte of memory.
Also show, how changing the hardware of chip select (CS’) logic can modify the range of memory
addresses from 5000H to 50FFH.
5. Write a program to display count 0 to 9 at output port 0AH for a microprocessor system
having clock frequency of 1MHz. A one second delay must be provided between each count.
Use register pair DE to set up delay. At the count of 9, the counter should reset itself to zero.
At the count of 9, the counter should reset itself to zero and repeat the sequence continuously.
6. Write an assembly language program to generate a delay of 0.4 sec if the crystal frequency is
5MHz. [RTU-2010]
7. Show how you will connect a 2K*8 RAM and 4K*8 ROM to 8085 microprocessor. Give all
necessary details of connection. Also show the system memory map.
8. Interface two chips of 4K byte RAM and two chips of 2K byte ROM to MP 8085, by absolute
decoding using 74LS 138 decoder. Give the memory map starting at address 8000H for EPROM.
[RTU-2011]
9. Design a microprocessor system for 8085 microprocessor such that it should contain 8 KB of
EPROM and 8KB of RAM. Properly address the two memories and give detail address map.
(RTU 2010)
10. Explain in detail the interfacing of 8259 with 8085 microprocessor giving the pin details of 8259.
3. Write BSR Control Word to set and then reset bit PC4 of Port C of 8255 PPI. Also write the
set of instruction to be used.
1. What is the role of segment driver and digit driver for multiplexed scanned display?
[RTU-2009]
2. Draw a schematic to interface 16-Key matrix keyboard using Port C of the 8255. Write instruction
of initialize the port. [RTU-2008]
3. Describe Interfacing DTE & DCE using RS232C.
JIET GROUP OF INSTITUTIONS
(A Constitute of Arun Shanti Education Trust, Jaipur) Mogra
National Highway No.65 New Pali Road, Jodhpur-342 002 (Raj.)
Tel: 0291-2868152/53, *E-mail: info@jietjodhpur.com
Web: www.jietjodhpur.com
ACADEMIC ADMINISTRATION OF JGI
42. The advantage of current loop method is that signals are relatively noise-free and suitable for
transmission over a distance. (True/False)
43. ____________ is a commonly used input device when more than 8 key are necessary.
44. Difference between Serial port and parallel port.
45. What is the use of C/D’ pin in USART 8251
46. In multiplexing, the data lines and output ports are time shared by ______.
47. Rs-232 was introduced in _________.