S5 BSC E - 8051 Microcontroller Programming Lab
S5 BSC E - 8051 Microcontroller Programming Lab
Electronics
8051 Microcontroller Programming Lab Experiments
MODEL QUESTIONS
(2013 Admission onwards)
1. Write a program to multiplication and division using MUL and DIV instructions.
2. Write a program to transfer a block of data from internal memory to external memory.
3. Write a program to exchange two set of eight byte data.
4. Write a program to find the sum of two numbers in decimal?
5. Write a program to convert decimal number to hexadecimal.
6. Write a program to add a number n, m number of times.
7. Write program to find the largest from a set of n numbers.
8. Write program for sorting the given set of numbers.
9. Write a program to sort a set of numbers in ascending order?
10. Write a program to sort a set of numbers in descending order?
19. Write program for toggling the LEDs connected to one of the ports.
20. Write program for generating a square/triangular wave?
21. Write a program display a hexadecimal digit using LEDs.
22. Write a program that sequentially displays the decimal numbers using 7 segment.
23. Write a program to create a delay of 5ms using 8051 Timers.
24. Write a program to read an input through DIP switch and display the reading using
LED or 7-segment.
25. Write a program to rotate the given motor in clockwise and anticlockwise direction?
Note: A minimum of 21 experiments; 8 from cycle 1, 6 from cycle 2 and 5 from cycle 3 is to
be carried out compulsorily.