You are on page 1of 2

Seat No.: ________ Enrolment No.

___________

GUJARAT TECHNOLOGICAL UNIVERSITY


BE - SEMESTER–IV (NEW) EXAMINATION – WINTER 2021
Subject Code:2141001 Date:01/01/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) Which basic operations are performed by Microprocessor? How it 03
generates control signals for the basic operations.?
(b) Briefly write about 8085 Interrupts and externally Initiated Signals. 04
(c) With neat diagram explain functional Architecture of 8085 07
Microprocessor.

Q.2 (a) Define Machine Cycle , T State and Instruction Cycle and explain with 03
suitable example.
(b) Write a short note on Evolution of Microprocessor. 04
(c) Illustrate Steps and timing of data flow when instruction code – 4F 07
( MOV C,A) is stored at location 2050H.
OR
(c) With absolute decoding scheme and diagram explain interfacing of DIP 07
Switch with suitable control signals. Write instruction to read the data
from key board.

Q.3 (a) Briefly write data transfer instructions with two examples each. 03
(b) Draw timing diagram for OUT Instruction. (opcode for OUT 04
instruction is D3).
(c) Design microprocessor based system to interface RAM of 1K byte 07
having starting address 0000H , ROM of 4 K byte starting address
2000 H and EPROM of 8K byte with starting address 4000 H.
OR
Q.3 (a) Write different addressing modes of 8085 with 2 examples each. 03
(b) Draw diagram for interfacing of seven segment common anode LED 04
with suitable control signals.
(c) Write logical instruction with example each. Explain all Rotate 07
instruction in detail with suitable example.

Q.4 (a) Write a program to generate delay using register pair BC having count 03
stored 2350H. Calculate delay period for the same count. Use clock
frequency of microprocessor is 2 Mhz.
(b) Write a program to find minimum numbers from given five numbers 04
starting at 3050H location. Store result at 4050H location.
(c) A set of Eight reading is stored at memory location C060 H. Write a 07
program (1) to check the number is positive or negative. (2) Discard all
negative reading. (3) Add all positive reading. (4) If answer of addition
is greater then FF H then store answer at C080H location. Else store FF
H on the same location.
1
OR
Q.4 (a) Briefly describe about operation of instructions (1) DAD (2) XCHG 03
(3) LDA .
(b) Specify the content of registers and flag 04

A B S Z CY
Initial Value 00 FF 0 1 0
MVI A,F2H
MVI B,7AH
ADD B
OUT PORT0
HLT

(c) Write a Program to check number 5C H exists or not in given five 07


numbers stored from C080H location. If exists then store the location
of 5C h at C0A0 (lower address) and on C0A1 ( higher address). If
not found then store FF H at both given address.

Q.5 (a) Draw Block Diagram of 8251 USART IC with pin signals. 03
(b) Draw and briefly explain Architecture of 8086 Microprocessor. 04
(c) Explain different modes of 8255 with its control register. 07
OR
Q.5 (a) Write main features of 80386 and 80486 Microprocessor. 03
(b) Explain different addressing modes of 8086 microprocessor with 04
suitable example.
(c) Describe modes of 8253 Timer IC with control word Register. 07

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

You might also like