Semester : SEMESTER 5
Subject : Microprocessors & Microcontrollers
Year : 2020
Term : DECEMBER
Scheme : 2015 Full Time
Course Code : EC 305
Page:2
b)
a)
b)
a)
b)
0)
a)
b)
0)
a)
b)
06000EC305122002
Write an Assembly language program to add all numbers in RAM locations
starting from 30 H to 40 H. Store the result in locations 70H and 71 H (sum
and carry). Write comments for each line of code.
Compare microprocessors and microcontrollers with respect to hardware
architecture, applications and instruction set.
List at least 10 special function registers of 8051. Explain the function of each
with a single sentence.
PART ^
Answer any two full questions, each carries 20 marks.
What is the use of GATE bit in TMOD register? Explain with neat diagram.
What is the importance of RI and TI flag in serial communication?
How can a stepper motor be interfaced to 8051? Explain with neat diagram.
Write an assembly language program to rotate the motor 32° in clockwise
direction. The motor has a step angle of 2° and use 4 step sequence.
Explain the two external hardware interrupts of 8051.
Write an assembly language program to blink an LED connected to Port 1.5.
How can an external frequency be counted using 8051?
Write an assembly language program 10 send the ~ word
“MICROCONTROLLER” serially at 9600 baud rate. Assume the crystal
frequency as 11.0592 MHz, 8 bit data with 1 stop bit and use timer 1 to generate
the baud frequency.
What are seven segment displays? How can they be interfaced to 8051? Explain
with the help of block diagram. Write the program to display the numbers from 0
to 9 in order.
मे بد मर بد
Page 2 of 2
(10)
(7.5)
(7.5)
(5)
(5)
(10)
(8)
(6)
(6)
(10)
(10)