×
Stay dedicated because great things takes time.
--Your friends at LectureNotes
Close

Previous Year Exam Questions for Microprocessor and Interfacing - MPI of 2019 - GTU by kusum chaudhary

  • Microprocessor and Interfacing - MPI
  • 2019
  • PYQ
  • Gujarat Technological University - GTU
  • Electronics and Communication Engineering
  • B.Tech
  • 24 Views
  • 2 Offline Downloads
  • Uploaded 2 months ago
0 User(s)
Download PDFOrder Printed Copy

Share it with your friends

Leave your Comments

Text from page-1

Seat No.: ________ Enrolment No.___________ GUJARAT TECHNOLOGICAL UNIVERSITY BE - SEMESTER– IV(NEW) EXAMINATION – SUMMER 2015 Subject Code: 2140304 Subject Name: Microprocessor and its Interfacing Time: 10:30am-1.00pm Date:28/05/2015 Total Marks: 70 Instructions: 1. Attempt all questions. 2. Make suitable assumptions wherever necessary. 3. Figures to the right indicate full marks. Q.1 Q.2 Q.3 Q.3 Q.4 (a) State the function of following instructions. (1) LHLD 16-bit (2) PUSH PSW (3) XRA A (4) RRC (5) XCHG (6) XTHL (7) PCHL (8) STC (b) Explain how address/data lines AD0-AD7 are demultiplexed. Draw logic diagram to generate control signals MEMW, MEMR, IOW and IOR from IO/M, WR and RD. 07 (a) Draw the programming model of 8085 processor and explain working of 8085 in detail. (b) Draw the timing diagram of the instruction LDA 3050H. Find out the execution time of the LDA instruction if processor speed is 3 MHz. OR (b) How does microprocessor differentiate between an opcode and data? Explain the same with the timing diagram for fetch and execution cycle. 07 (a) What is interrupt? List the interrupts available in 8085 Microprocessor and explain in brief. Also discuss the function of SIM and RIM instructions. 07 (b) Draw the diagram for interfacing 8KB of ROM and 8KB of RAM with microprocessor 8085. How much number of pins is used for such interfacing? The starting address for ROM should be 0000H and starting address for RAM should be 8000H OR (a) What is absolute decoding? Discuss memory mapped I/O and I/O mapped I/O. (b) Write a program to initiate ADC and to store the digital data in memory. 07 (a) An 8-bit binary number is stored in memory location 3050H. Write a program to convert the number into ASCII code and save the result in memory. 07 (b) Write an ALP for 8085 to find the square of the numbers from 0 to 9 using a Table of 07 07 07 07 07 07 Square. OR Q.4 (a) The following block of data is stored in memory locations from 2055H to 205AH. Transfer the data to the location 3080H to 3085H in the reverse order. [Data(H) 33,B5,A2,99,FE,17]. 07 1

Text from page-2

Q.5 Q.5 (b) Interface 8255 with 8085 microprocessor and connect DIP switches to port A and LEDs to port B of 8255. Write an assembly language program to read the DIP switches connected to port A and display its status on corresponding LEDs connected to Port B of 8255. 07 (a) What is the function of Programmable Timer Counter IC? Explain its control word format and different modes of working. (b) Write a short note on parallel communication protocols. 07 OR (a) Draw the internal diagram and explain working of Programmable Interrupt controller IC. (b) Discuss serial communication protocols in detail. 07 07 07 ************* 2

Text from page-3

Seat No.: ________ Enrolment No.___________ GUJARAT TECHNOLOGICAL UNIVERSITY BE - SEMESTER–IV (New) EXAMINATION – WINTER 2015 Subject Code:2140304 Subject Name: Microprocessor & Its Interfacing Time: 2:30pm to 5:00pm Date:22/12/2015 Total Marks: 70 Instructions: 1. Attempt all questions. 2. Make suitable assumptions wherever necessary. 3. Figures to the right indicate full marks. Q.1 (a) With neat diagram explain the architecture of 8085. (b) Give the comparison between memory mapped I/O and I/O mapped I/O. 07 07 Q.2 (a) Explain functions of following instructions: 1) DAD B 2) LDAX D 3) DAA 4) SIM 5) XTHL 6) XCHG 7) POP PSW (b) Draw & explain timing diagram for OUT 30h. OR (b) Draw & explain timing diagram for STA 5080h. 07 (a) What do you mean by multiplexing? Explain Demultiplexing of AD bus with diagram. (b) Write a program to generate a continuous square wave with the period of 1msec. Assume clock frequency 3MHz & use bit D0 to output square wave. OR (a) Interface 16K of ROM with starting address 0000h and 2K of RAM with starting address C000h with 8085. (b) 50 Student’s exam marks are stored in memory location starting at 4080h. Write an ALP to find the highest marks & store it at location 6000h. 07 (a) Write a program to convert 2-digit BCD number stored at location INBUF to binary number & store it at location OUTBUF. (b) What do you mean by interrupt in microprocessor? List & explain types of interrupts available with 8085. 07 Q.3 Q.3 Q.4 07 07 07 07 07 07 OR Q.4 (a) Write a program to multiply two 16-bit numbers stored in memory. (b) Enlist & explain different types of communication protocols. 07 07 Q.5 (a) Interface an 8-bit D/A converter with 8085. Write a program to generate a continuous ramp waveform. (b) Explain the block diagram & functioning of 8155. OR (a) Draw 8254 block diagram & explain its control word format. (b) Interface an LCD with 8085 using 8255 peripheral chip & write instructions to initialize LCD. 07 Q.5 07 07 07 ************* 1

Text from page-4

Seat No.: ________ Enrolment No.___________ GUJARAT TECHNOLOGICAL UNIVERSITY BE - SEMESTER–IV(New) EXAMINATION – SUMMER 2016 Subject Code:2140304 Subject Name:Microprocessor & its Interfacing Time:10:30 AM to 01:00 PM Date:30/05/2016 Total Marks: 70 Instructions: 1. Attempt all questions. 2. Make suitable assumptions wherever necessary. 3. Figures to the right indicate full marks. MARKS Q.1 1 2 3 4 5 6 7 8 9 10 11 12 13 14 Q.2 (a) (b) (c) (c) Q.3 (a) (b) (c) Q.3 (a) (b) Short Questions 14 Define PSW. What is Auxiliary Carry? Why Data Bus is bidirectional in 8085? How many Address lines are required for addressing 2048 Bytes of Memory Chip? What is Tri state Device? What is ALE? Which Interrupt has Highest Priority? ___________ & ________ instruction affect all flags except CY Flag. _________instruction does not affect any Flags. What is the function of Assembler? The _____ Operation does not affect any Flags. Explain LDAX B instruction. Explain STAX B instruction. What is the function of HOLD? Explain the difference between Absolute Decoding and Partial 03 Decoding. Explain Demultiplexing of Address Bus. 04 Explain the Architecture of 8085 with a neat diagram. 07 OR Draw & explain the Pin Diagram of 8085. 07 What is the Difference between Peripheral mapped I/O & Memory 03 mapped I/O? Explain 8085 Assembly language and Machine Language. 04 Write a short note on Memory classification in 8085. 07 OR Define: Instruction cycle, Machine Cycle & T-state. 03 Write a short note on Interrupts. 04 1

Lecture Notes