Reg. No.
Question Paper Code : 13881
B.E. / [Link] DEGREE EXAMINATION, APRIL / MAY 2018
Fifth Semester
B.E. – Electrical and Electronics Engineering
15EE503 – MICROPROCESSORS AND MICROCONTROLLERS
(Regulations: Mepco – R2015)
Duration: 3 Hours Maximum Marks:100
Max. : 100 Marks
Answer ALL Questions
Cog. PART A – (10 2 = 20 Marks)
R 1. What is the function of PC and SP registers in 8085?
R 2. Write the different machine cycles present in 8085.
R 3. List the different hardware interrupts present in 8085 along with their
priority.
U 4. How many address lines and data lines are present in a 2k x 8 RAM chip
and an 8k x 8 EPROM chip?
U 5. Write the BSR control words to set PC0 pin and to reset PC7 pin in 8255.
R 6. Write any four main features of 8279 IC.
U 7. What is the operation carried out when the instruction
MOVX A,@DPTR is executed by 8051?
R 8. What is the function of GATE bit and C/T bit present in the TMOD register
of 8051?
R 9. What is the function of RS and R/ w pins in a LCD?
U 10. Calculate the resolution of an 8-bit ADC with an input voltage of 5V.
PART B – (5 16 = 80 Marks)
U 11. a) Explain the functional block diagram of 8085 microprocessor
in detail. (16 Marks)
OR
1
13881
U 11. b) i. Explain the different addressing modes supported by 8085
Instruction set with two examples for each. (8 Marks)
U 11. b) ii. Draw and explain the timing diagram for I/O read machine
cycle in 8085. (8 Marks)
U 12. a) i. Explain the hardware interrupts present in 8085 along with
the procedure for enabling and disabling hardware interrupts. (8 Marks)
A 12. a) ii. Draw the interfacing diagram to Interface 27128 EPROM
(16k x 8) IC with 8085 using NAND gate decoder such that
the starting address assigned to the chip is C000H. (8 Marks)
OR
U 12. b) i. Explain the software interrupts present in 8085 and the
processing of a software interrupt by 8085 in detail. (8 Marks)
A 12. b) ii. Draw the interfacing diagram to connect an 8-bit DIP switch
with 8085 using I/O mapped I/O scheme such that the address
90H is assigned to it. (8 Marks)
U 13. a) Explain the features, block diagram and control words of
8251 (USART) for asynchronous serial communication. (16 Marks)
OR
U 13. b) Explain the functional block diagram of 8255 IC and explain
its operating modes in detail. (16 Marks)
A 14. a) i. Write 8051 assembly language program to generate a square
wave of 2kHz frequency in pin P1.0 using 8051 timer. The
crystal frequency is 12 MHz. (8 Marks)
A 14. a) ii. Write the algorithm and 8051 assembly language program to
multiply two 8 bit numbers stored in the external memory
Location 9000H & 9001H and store the result in Internal
RAM at address 50H & 51H. (8 Marks)
OR
2
13881
A 14. b) Write the algorithm and 8051 assembly language program to
transmit the message “ENTRY” repeatedly through serial port
of 8051 at 9600 baud rate in mode 1 by polling method. The
crystal frequency is 11.0592 MHz. (16 Marks)
A 15. a) Draw the interfacing diagram to connect a 16 x 2 LCD with
8051 and write the program to display “WELCOME” in the
LCD. (16 Marks)
OR
A 15. b) Draw the interfacing diagram to connect an 8-bit DAC with
8085 processor through 8255 IC and write the programs to
generate
A) a ramp wave and
B) a square wave. The peak value of both waveforms must be
5V. (16 Marks)
3
13881
4
13881