Semester : SEMESTER 5
Subject : Microprocessors & Microcontrollers
Year : 2022
Term : JANUARY
Scheme : 2015 Full Time
Course Code : EC 305
Page:2
b)
a)
b)
a)
b)
0)
a)
b)
a)
b)
06000EC305122003
Write the functions of following instructions
1) ANLC, का
ii) MOC A, @A+DPTR
iii) MOVX @Rp, A
iv) PUSH 01H
v) SUBB A, #n
What are subroutines? What are they used for in 8051? How they work?
Write an 8051 assembly language program to multiply two numbers without using
the instruction MUL AB
PART C
Answer any two full questions, each carries 20 marks.
Write an assembly language program to generate a square wave with 75% duty
cycle and frequency 1 MHz using 8051. Assume the crystal frequency to be
11.0592MHz and use Mode | timer programming.
What are the methods to double the baud rate in 8051?
Which are the interrupt sources in 8051. Explain their functions in a sentence.
Also show the ISR address of those interrupts
A traffic signal uses a seven-segment display that counts from 10 to 0. The display
is controlled using 8051 microcontroller. Explain how the seven-segment display
can be interfaced to 8051 and write the assembly language program for displaying
numbers from 10 to 0
Explain Mode | timer programming of 8051.
If serial communication is done with the help of interrupts, how reception and
transmission be distinguished? Explain the programming of serial communication
interrupt in 8051
How can an 8 input DAC be interfaced with 8051? Draw the block diagram and
explain. Write an assembly language program to generate a staircase waveform
Page 2 of 2
(5)
(5)
(10)
(10)
(5)
(5)
(10)
(10)
(10)
(10)