Download GTU B.Tech 2020 Summer 4th Sem 3141710 Microprocessor And Interfacing Question Paper

Download GTU (Gujarat Technological University Ahmedabad) B.Tech/BE (Bachelor of Technology/ Bachelor of Engineering) 2020 Summer 4th Sem 3141710 Microprocessor And Interfacing Previous Question Paper

Seat No.: ________
Enrolment No.___________


GUJARAT TECHNOLOGICAL UNIVERSITY
BE - SEMESTER? IV EXAMINATION ? SUMMER 2020
Subject Code: 3141710 Date:02/11/2020
Subject Name: Microprocessor and Interfacing
Time: 10:30 AM TO 01:00 PM 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 (a) Explain the difference between machine language and assembly
03
language with example.

(b) Draw the programming model for 8085 Microprocessor and
04
explain them in brief.

(c) If 8bytes of data are stored at the memory location starting from
07
C050H; write an ALP to arrange them in ascending order.
Q.2 (a) Specify the contents of accumulator and flag when the following
03
instructions are executed.
MVI A, C5H
ORA A
RAL
RRC

(c) Draw the timing diagram of MOV C, A having an opcode 4FH.
07
Also find the total time to execute this instruction by MPU.


OR


(c) Draw the data flow for MOV C,A instruction execution by MPU
07
and describe the steps of execution in brief.
Q.3 (a) Draw the schematic for latching low order address bus of 8085
03
microprocessor.

(b) 1) Register B contains 32H.Copy the contents of B to memory
04
location 8000H using indirect addressing.
2) The accumulator has FAH. Copy the content of accumulator
into memory location 8050H using direct addressing.

(c) Draw
the interfacing scheme for connecting 8155 memory RAM
07
of 256 bytes size with 8085. Show the decoding logic using 3 to
8 decoder and also mention the memory map of it.


OR

Q.3 (a) Explain how the foldback memory space is generated while using
03
partial decoding scheme while interfacing memory or I/O with
8085.

(b) Draw the block diagram of 8254 programmable timer/counter and
04
write the steps needed to program to initialize the counter.

(c) Draw the interfacing scheme for connecting 2732 EPROM of
07
4096 bytes size with 8085. Show the absolute decoding logic
using 3 to 8 decoder and also mention the memory map of it.
Q.4 (a) Explain the concept of Nesting and Multiple Ending subroutines
03
using Call instruction.
1



(b) Write three different instructions to transfer the data from
04
memory to microprocessor 8085 with graphical representation


showing register contents and flow of data from memory to MPU.

(c) Write the necessary steps for interfacing I/O device with 8085 and
07
draw the block diagram of I/O interface requirements.

OR

Q.4 (a) Specify the output at PORT 1 after execution of following
03
program.
MVI B,82H
MOV A,B
MOV C,A
MVI D,37H
OUT PORT1
HLT

(b) Explain the following instruction with effect on flags in different
04
condition of comparison.
CMP M
CPI 8bit

(c) Show the complete drawing to interface common anode seven
07
segment LED with 8085. Write the program to display digit 7 at
the output of it.
Q.5 (a) List the various interrupts of 8085 MP with its vector locations.
03

(b) Draw the flow chart for key check subroutine, if keyboard
04
connected with 8085 is pressed.

(c) Write an ALP program to
07
1) transfer the byte to accumulator
2) separate the two nibbles of accumulator content
3) Call the subroutine to convert each nibble into ASCII Hex
code.
4) Store the ASCII code in memory locations 2000H and 2001H.


OR
Q.5 (a) Explain the SIM instruction.
03
(b) Show the hardware way for key debouncing technique.
04
(c) Write a program for hexadecimal counter.
07

2


This post was last modified on 04 March 2021