Microcontrollers PDF
Microcontrollers PDF
a. How stack operates in 8051 CPU? Mention its relevant instructions. (06 Marks)
b. Write a n ALP program to find the square root of a number and store in Ro. (06 Marks)
c. With examples, explain different addressing modes used in 8051. (08 Marks)
a. For the given decimal number 99, determine packed BCD and unpacked BCD
representation. Write a programme to add 10 BCD numbers stored in successive memory
locations starting from 20 h in internal RAM locations and store the result at address 40 h
and 41 h. (10 Marks)
b. Explain the operation of timer 1 in 8051 in mode 1. Give the relevant mode word. (06 Marks)
c. List the advantages of serial communication over parallel communication. (04 Marks)
a. What are external interrupts? How they are handled in 8051? How to set INT 1 as edge
triggered interrupt? (08 Marks)
b. Write a 8051 program using interrupts to do the following:
i) Receive the data serially and send it to Po.
ii) Read port PI transmit data serially and give a copy to P2.
iii) Make timer 0 generate a square wave of 5 kHz frequency on Po.!.
Assume that XTAL = 11.059 MHz. Set the band rate at 4800. (08 Marks)
c. Write note on 8051 microcontroller development toots. (04 Marks)
8 a. With a block diagram, explain the operation of ADC804 interfacing with ALP to 8051.
(10 Marks)
b. Explain interfacing an LCD to the 8051 and write ALP for the same. (10 Marks)
SHIRDI SAI ENGG COLLEGE
SHIRDI SAI ENGG COLLEGE
SHIRDI SAI ENGG COLLEGE
SHIRDI SAI ENGG COLLEGE
SHIRDI SAI ENGG COLLEGE
SHIRDI SAI ENGG COLLEGE
SHIRDI SAI ENGG COLLEGE
SHIRDI SAI ENGG COLLEGE
SHIRDI SAI ENGG COLLEGE
SHIRDI SAI ENGG COLLEGE
SHIRDI SAI ENGG COLLEGE
SHIRDI SAI ENGG COLLEGE
SHIRDI SAI ENGG COLLEGE
SHIRDI SAI ENGG COLLEGE
SHIRDI SAI ENGG COLLEGE
SHIRDI SAI ENGG COLLEGE
SHIRDI SAI ENGG COLLEGE
SHIRDI SAI ENGG COLLEGE