Seat No.: ________ Enrolment No.
___________
GUJARAT TECHNOLOGICAL UNIVERSITY
BE - SEMESTER–IV(NEW) EXAMINATION – WINTER 2022
Subject Code:3141710 Date:17-12-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) Briefly explain bus structure of 8085 processor. 03
(b) What is the addressing modes ? Enlist addressing modes supported by 04
8085 processor.
(c) Explain the programming model of 8085 microprocessor and flag 07
register.
Q.2 (a) Define T state, Machine cycle and Instruction cycle. 03
(b) What is the difference between absolute and partical decoding. 04
(c) Draw and explain pin diagram of 8085 processor. 07
OR
(c) Explain the interfacing circuit of 4K ROM memory with 8085 processor 07
with neat diagram and address range.
Q.3 (a) Write a program to read data from input port 00h and write data into 03
outpout port 01h.
(b) Explain PUSH and POP instruction of 8085 processor. 04
(c) Write a program to load FFh data into 10 consecutive memory location 07
starting from xx30h.
OR
Q.3 (a) What is an interrupt? Explain various interrupts of the 8085 03
microprocessor.
(b) Explain RAL and LDA instruction with suitable examples. 04
(c) Write a program to read an 8-bit number is stored in memory location 07
C000H and count number of ones (i.e. 1) in this byte and store this count
in memory location C001H.
Q.4 (a) Explain CALL instruction of 8085 processor. 03
(b) Explain RIM and SIM instruction of 8085 processor. 04
(c) Design a delay loop to generate 100 ms delay. Assume clock frequency 07
of 8085 processor is 1 MHz.
OR
Q.4 (a) How much time is required to execute LDA 3000h instruction if 2 Mhz 03
crystal is connected with 8085 processor.
(b) Explain any two arithmetical instructions of 8085 processor with suitable 04
examples.
(c) List out conditional Jump instructions and explain any two with suitable 07
example.
Q.5 (a) Compare machine language with assembly language. 03
(b) List out the features of 8253 timer chip. 04
(c) List out the features of 8255 processors and also explain the functional 07
block of 8255 PPI with diagram.
OR
Q.5 (a) Draw the diagram to interface 4 x 4 matrix keyboard with 8255 PPI. 03
1
(b) Explain working of seven segment LED display with its types. 04
(c) What is Analog to Digital converter ? Explain working of any A to D 07
converter with its block diagram.
*******************
.