0% found this document useful (0 votes)
15 views3 pages

Gujarat Technological University

This document is an examination paper for the Microprocessor and Interfacing subject at Gujarat Technological University, detailing the structure and content of the exam. It includes various questions related to the 8085 microprocessor, memory interfacing, assembly language programming, and interfacing circuits. The exam is scheduled for July 4, 2022, and consists of multiple questions with specific marks allocated to each part.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
15 views3 pages

Gujarat Technological University

This document is an examination paper for the Microprocessor and Interfacing subject at Gujarat Technological University, detailing the structure and content of the exam. It includes various questions related to the 8085 microprocessor, memory interfacing, assembly language programming, and interfacing circuits. The exam is scheduled for July 4, 2022, and consists of multiple questions with specific marks allocated to each part.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

Seat No.: ________ Enrolment No.

___________

GUJARAT TECHNOLOGICAL UNIVERSITY


BE - SEMESTER–IV (NEW) EXAMINATION – SUMMER 2022
Subject Code:3141710 Date:04-07-2022
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.
4. Simple and non-programmable scientific calculators are allowed.

MARKS

Q.1 (a) Explain 8085 Programming Model and Flag Register. 03


(b) Specify the four control signals used by 8085 MP.Also draw the 04
schematic for control signals generation.
(c) Draw the of MP 8085 bus structure. And describe the importance 07
of each bus in detail.

Q.2 (a) What will be the value in accumulator, for the given 8085 program 03
below?
MVI C,7FH
MVI B, AAH
MOV A, B
RLC
RLC
ANI 7FH
HLT
(b) Interface 6116 Memory chip of size 2048*8 . Write the memory 04
map also.(Note:Use 3 to 8 decoder for address decoding.)
(c) Draw the timing diagram for following instruction. The 07
instruction is stored at memory location started at 20FF .
Memory location Mnemonics opcode
20FF MVI B,48H 06
OR
(c) Design an interfacing diagram to interface seven segment LED 07
with MP to display digit ‘7’ on it. Use address F5H as output port
address. Note: use 74LS138 3 to 8 decoder, 74LS20 4 input
NAND gate,74LS02 NOR gate, and common cathode seven
segment LED.

Q.3 (a) What will be the value in accumulator, for the given 8085 03
program below?
MVI A, 07H
RLC
MOV B,A
RLC
RLC
RLC
ORA B
HLT

1
(b) Explain following instructions with example: 04
[1] LDAX [2] RLC [3] INX [4] MOV R,M
(c) An array of twenty data bytes is stored on memory locations 07
2000H onwards. Write an 8085 assembly language program to
count the number of zeros, odd numbers and even numbers and
store them on memory locations 3000H, 3001H and 3002H
respectively.
OR
Q.3 (a) What is the output at PORT1 when the following instructions are 03
executed?
MVI A, 8FH
ADI 72H
JC DISPLAY
OUT PORT1
HLT
DISPLAY: XRA A
OUT PORT1
HLT
(b) Define subroutine. Describe conditional and non conditional 04
CALL and RET instructions with example.
(c) Write an 8085 assembly language program to arrange the 07
following numbers in ascending order: 10H, 27H, 16H, 23H,
57H.

Q.4 (a) Describe in brief two types of ADC with their atleast three 03
features.
(b) Explain the key interfacing and key bouncing problem. Draw the 04
physical hardware circuit for key debouncing.
(c) Write and assembly program to find out square of five given data. 07
These data and result should be stored in memory. Result should
be stored from 0005H
Memory location data
0000H 01H
0001H 02H
0002H 03H
0003H 04H
0004H 05H

OR
Q.4 (a) Calculate total time delay of given program. Assume frequency 03
2MHz.
LXI
B,2384H
LOOP: DCX B
MOV A,C
ORA B
JNZ LOOP
HLT
(b) Draw the flowchart for key check subroutine when matrix 04
keyboard is interfaced with MP.
(c) An array of ten data bytes is stored on memory locations 2500H 07
onwards. Write an 8085 assembly language program to count the
number of zeros, positive numbers and negative numbers and
store them on memory locations 4000H, 4001H and 4002H
respectively.
2
Q.5 (a) What is interrupt? List hardware interrupts of 8085. 03
(b) 04

Fig 5.b
For interfacing of 8255 with MP,given in the above Figure, Find
the control word to set and reset bit PC7.

(c) Draw the interfacing circuit of ADC with MP. Write the program 07
to read the content of converted data to MP.

OR
Q.5 (a) In the given figure 03

Fig 5.a
1) Identify the Port addresses.
2) Find out Control Word in Mode 0 to configure Port A and Port
CU as output port and Port B and Port CL as input port.

(b) Write a program for the above diagram of Fig 5. to read DIP 04
switches and display the data read to LED connected to Port A.
(c) Draw the basic block diagram for 8253 programmable 07
Timer/Counter . Define the various mode of operations based on
status of various Control Word Register of 8253 Timer/Counter.

*************

You might also like