Microcontrollers, Class Test-1, BE3, Odd Sem,
Full Marks: 30, 2022-23 Session
Q. No Time: 1 Hr, Date:
The 8051
microcontroller 07.11.2022
uses a 12 MHz crystal
With examples, briefly discuss the CY, AC, OV and P flags of the Marks
8051 mnicrocontroller. [CO1] 4
With examples, discuss how the DAA
flags to implement the addition of BCDcircuitry uses CY and AC 6
3
Describe, with examples, the numbers. [CO1
AJMP instructions. (CO2] implementation of the SJMP and 2+3
Data in RO and Rl are unsigned binary
that generates the integer average of the integers. Write a
two and stores itprogram
4+1
in R2.
Calculate the execution time of the program. (CO2]
Write an assembly language code that uses
mode to geberate a 20% duty cycle pulse train Timer-1 in auto-reload 10
of frequency 2 kHz
at Pl.0. [CO3]
Name the interrupt sources of' an 8051
microcontroller along with their vector addresses. How do
you enable/disable the interrupt inputs and 5+5
set their
Wrile an assembly language program that uses the priority levcls? [CO3|
clock at Pl.0 Timer-0 overflow interrupt to generate a l00 Hz
3 Write an assembly language program that: [C03
First contigures the on-chip UART in mode-1 with receiver disabled and sets
9600 baud, and then serially transmits the contents of registers 70h to7Fh (16 the baud rate clock to
4 For the lCM72 18B LED display controller: bytes). [CO3
What is meant by a multiplexed display? What is its advantage overa static display?
What is the data transfer protocol from the uC to the 7218 display controller?
[C04]