You are on page 1of 4

Question Bank Microprocessor and Interfacing Sem.

IV (EC/IC/CE/EE) Section - I
1 2 What is microprocessor? Explain the difference between microprocessor and CPU. Explain the following 1) Machine language 2) Low-level language 3) Assembler, Interpreter and Compiler State clearly the advantages and disadvantages of assembly language over high-level language State the point of difference between embedded system and reprogrammable system List various Bus found in microprocessor. Draw general Bus structure in microprocessor based system and explain role of each Bus. What are Tri-State devices? Explain its importance in Bus oriented system Give classification of memory in detail. Explain with and example the difference between Absolute and Partial Decoding. Give a memory map to interface 1 chip of 1 K RAM and 2 chips of 8K ROM. State the memory address range of each chip clearly. a) If memory chip size is 2048 x 8 bits, how may chips are required to make up 16 K byte memory? b) The memory map of a 4 K byte memory chip begins at the location 2000H. Specify the address of the last location on the chip. c) The memory address of the last location of a 1K byte memory chip is FBFFH. Specify the starting address. List various pins available in 8085 related to a) Address and data bus b) Control and Status signals c) Externally initiated signals d) Power and clock e) Serial I/O State the function of following pins a) HOLD and HLDA b) READY c) RESET OUT d) SID and SOD e) S1 and S0 Give schematic of de-multiplexing of address and data bus. Explain how various control signals viz. MEMR, MEMW, IOR and IOW signals are generated Give functional block diagram of 8085 and explain it in brief. Define the following 1) T-Sate 2) Machine Cycle 3) Instruction cycle 4) Timing diagram List all machine cycles in execution of following instructions and give timing diagram of following instructions 1) MOV 2) MVI 3) LDA 4) SHLD

3 4 5 6 7. 8. 9 10

11

12

13 14 15 16 17

18 19 20 21

22 23 24 25 26

27 28 29

Explain with a neat sketch decode logic for interfacing LEDs as output port. Give Timing diagram of OUT instruction. Explain with a neat sketch decode logic for interfacing Dip-switches as input port. Give timing diagram of IN instruction. State clearly the difference between memory mapped interfacing and peripheral mapped interfacing for I/O devices Calculate the delay in the following loop, assuming the system clock period of 0.33 microsecond. LXI B, 12FFH L1: DCX B NOP MOV A,C ORA B JNZ L1 Write a program to generate a rectangular wave with 200 micro-second on period and 400 microsecond off-period. Use bit D0 of output port 01H to output rectangular wave. Assume crystal frequency of 6.14 MHz What is stack and stack pointer? Explain its use in 8085 programming. Explain the sequence of events when following instructions are executed. 1) CALL 2) RET Explain the sequence of events when following instructions are executed. 1) PUSH B 2) POP PSW What are interrupts? Explain the difference between following 1) Masked and Unmasked interrupts 2) Vectored and Non-vectored interrupts 3) Software and Hardware interrupts Write a short note on hardware interrupts of 8085. Explain RIM and SIM instructions. Discuss the algorithm and assembly language program for the following 1) 2 digit BCD (packed) to binary conversion 2) Binary to seven-segment code conversion 3) ASCII to HEX conversion 4) BCD addition

Section II Chapter: 2 Introduction to 8085 assembly language programming Book: R. S. Gaonkar Question

Sr. No. 1 Draw and explain the hardware model of 8085. 2 Explain difference between hardware and programming model. Also draw the programming model of 8085 and explain each and every component in detail. 3 Draw flag register and explain each flag 4 State role of program counter and stack pointer OR State difference between program counter and stack pointer.

5 6 7

Sr. No. 8 Define addressing modes. State various addressing modes. Explain each in detail. 9 Explain difference between increment /decrement and addition/subtraction instruction. 10 Explain various rotate instructions. 11 Enlist various compare instructions. Explain each. Also state the difference between compare and subtract instruction. Chapter: 14 Programmable Interface Devices Appendix: 8279 Programmable display interface Book: R. S. Gaonkar 8279 Programmable display interface 12 Explain advantages and disadvantages of interfacing keyboard and display devices using 8279 chip over conventional method. 13 Draw the pin diagram of 8279 and explain function of each pin detain 14 Draw the block diagram of 8279 and explain function of each block in detail 15 Explain software commands of 8279 for a) key board and display mode set b) for program clock, read FIFO/sensor RAM c) read, write display RAM. d) display write inhibit or blanking, clear display and end interrupt /error mode set. Chapter: 15 General purpose programmable peripheral devices Book: R. S. Gaonkar 8259 - Programmable Interrupt Controller 16 Enlist various features of 8259 Programmable interrupt controller 17 Explain block diagram and pin diagram of 8259. 8253/8254 - Programmable Interval Timer 18 Draw and explain block diagram of 8254/8253 Programmable interval timer 19 Draw pin diagram of 8253/8254 and explain function each pin 20 Explain control word of 8253/8254 21 Enlist various modes of 8253/8254 with waveforms in brief 22 Explain read back command and status byte for 8253/8254 8255 - Programmable Peripheral Interface 23 Draw pin diagram of 8255 and explain function of each pin in detail. 24 Draw & explain in detail the block diagram of 8255 25 Explain the control word format of 8255 26 List the operating modes of the 8255A programmable peripheral interface 27 Explain operation of 8255 in Mode -1 with all handshake signals. 28 Explain operation of 8255 in Mode -2 with all handshake signals.

Define instruction and instruction set. Classify instruction set on functional categories. Also Classify instruction set on word size Enlist various data formats in 8085 Explain how microprocessor differentiates between data and instruction code? Chapter: 6 Introduction to 8085 instructions Chapter: 7 Programming techniques with additional instructions Book: R. S. Gaonkar Question

29 30 31 32

33 34 35 36 37

What do you mean by key debouncing? Explain various techniques to solve the problem. 8237 - DMA Controller What do we mean by direct memory access? Explain HOLD and HLDA signals Explain 8237 DMA controller with channels and interfacing, DMA signals with block diagram. What is DMA? Explain the sequence of operation when DMA request is send to microprocessor. OR Explain the operation of DMA controller when it is in Master and Slave mode. Chapter: 16 Serial I/O and Data Communications Book: R. S. Gaonkar 8251 - Programmable Communication Interface Explain difference between a) synchronous and asynchronous transmission. b) simplex and duplex transmission Explain a) SID and SOD. b) RS-232C Enlist various READ/WRITE control logic and registers and explain each Draw and Explain pin diagram of 8251 Draw and Explain block diagram of 8251

ALL STUDENTS WITH D & F GRADE ATTEMPT ANY 20 QUESTIONS EACH FROM SECTION I AND II (Total 40) AND SUBMIT AS A PART OF TERMWORK

You might also like