You are on page 1of 1

Seat No.: ________ Enrolment No.

___________

GUJARAT TECHNOLOGICAL UNIVERSITY


BE - SEMESTER–IV (OLD) EXAMINATION – WINTER 2021
Subject Code:140701 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.

Q.1 (a) Define following terms. 07


1) Positive logic 2) Operand 3) ALE 4) Control word
5) Machine Cycle 6) Opcode 6) Stack
(b) Write operation of the following instructions 07
(1) LHLD 1000H (2) RAL (3) DAD D (4) PUSH PSW (5)PCHL
(6) RIM (7) XTHL
Q.2 (a) List different addressing modes of programing instruction of 8085 07
microprocessor. Also explain them with a suitable example.
(b) Draw the functional block diagram of internal architecture of 8085 07
microprocessor and explain its working.
OR
(b) Design an interfacing circuit for one input port with eight DIP switches and one 07
output port with eight LEDs, using the components as listed.
(1) 74LS138: 3-to-8 decoder. (2) 74LS244: tri-state buffer
(3) 74LS373: octal latch (4) Two 2-input NAND gates
Q.3 (a) Explain the timing diagram of the memory write cycle 07
(b) An 8-bit binary number is stored in memory location 2000H. Write a program to 07
convert the number into ASCII Hex code and save the result in memory locations
2050H and 2051H.
OR
Q.3 (a) Explain the execution of the instruction STA 3060H with neat timing diagram. 07
(b) Write a program to add two 16 bit number stored in memory location 2000H to 07
2003H. Store answer in 2050H and 2051H.
Q.4 (a) Explain the block diagram of 8259 Programmable interrupt controller. What are 07
its features? Explain the interrupt operation of 8259 in the simplest format.
(b) Interface 4K EPROM and 16K RAM with 8085 processor. Write address range for 07
both the memory chips and also show the address decoding logic.
OR
Q.4 (a) Explain the SIM and RIM instructions of 8085 in detail 07
(b) Explain A-to-D conversion in brief. How does it happen? Explain with example. 07
Q.5 (a) Explain with block diagram the function of 8254 programmable interval timer. 07
(b) Explain direct memory transfer. Also Explain 8257 DMA controller with block 07
diagram.
OR
Q.5 (a) Draw and explain the block diagram of 8255A programmable peripheral port. 07
(b) Explain USART. Draw the functional block diagram of 8251 and explain the function 07
of each block.
************

You might also like