Seat No.: ________ Enrolment No.
___________
GUJARAT TECHNOLOGICAL UNIVERSITY
BE - SEMESTER–IV (NEW) EXAMINATION – SUMMER 2021
Subject Code:2141001 Date:04/09/2021
Subject Name:Microprocessor and Interfacing
Time:02:30 PM TO 05: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) Do as directed 03
(i) What is the content of program counter after reset in 8085?
(ii) How many memory locations can be addressed by a
microprocessor with 12 address lines?
(iii) Specify the crystal frequency required for 8085
microprocessor to operate at 2 MHz.
(b) Explain the flag register and flag bits of 8085. 04
(c) Draw and Explain the internal architecture of 8085 07
Microprocessor.
Q.2 (a) Specify the content of registers and flag status after execution of 03
each of the following instruction execution.
A C S Z CY
INITIAL VALUES XX XX 0 0 0
MVI A,5EH
ADI A2H
MOV C,A
(b) Differentiate: absolute and partial decoding techniques. 04
(c) Explain Following instruction of 8085 microprocessor. 07
(1)CMA (2)LHLD (3)PCHL (4)INX (5) DAA (6) XRA (7)RRC
OR
(c) Draw timing diagram for the Instruction: MVI A,35h stored at 07
location 2500H.
Q.3 (a) Design a circuit to generate control signal from RD’, WR’ & IO/M’ 03
(b) Draw and Explain De-multiplexing of Multiplexed Address/Data 04
bus.
(c) Write a program in 8085 to perform multiplication of two 8-bit 07
numbers. Assume numbers are available from 2500h and 2501h
memory locations. Store the result on 2502h (lower byte) and
2503h (higher byte) memory locations.
OR
Q.3 (a) Compare: Memory mapped I/O and I/O mapped I/O. 03
(b) Explain RIM and SIM instructions of 8085 microprocessor. 04
1
(c) Write a program to generate a continuous square wave with the 07
period of 500µs. Assume the system clock period is 325ns, and use
bit D0 to output the square wave.
Q.4 (a) List out the priorities of hardware interrupts in 8085. 03
(b) Explain the function of Interrupt Request Register (IRR) and 04
Priority Resolver in 8259 (Priority Interrupt Controller).
(c) Explain Programmable Interval Timer 8254 with Block Diagram. 07
OR
Q.4 (a) Draw control word format for Bit Set/Reset for 8255 IC. 03
(b) Explain the Mode 0 and Mode 3 of 8254/8253. 04
(c) Explain Programmable Interrupt Controller 8259A with Block 07
Diagram.
Q.5 (a) Explain three control flag bits of 8086 microprocessor. 03
(b) What is addressing mode? Explain any two addressing modes of 04
8086 with example.
(c) Explain internal architecture of 8086 Microprocessor with block 07
diagram.
OR
Q.5 (a) How many address lines available in 8086, 8088, 80186, 80286, 03
80386 & 80486 microprocessors?
(b) Draw internal architecture of 80186 and its advance functions with 04
block diagram.
(c) Compare 8085 and 8086 microprocessor. 07
*************