You are on page 1of 1

Fifth Semester B.Sc.

Electronics
8051 Microcontroller Programming Lab Experiments
MODEL QUESTIONS
(2013 Admission onwards)

CYCLE 1: EXPERIMENTS ON ASSEMBLY PROGRAMMING

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?

CYCLE 2: EXPERIMENTS ON 8051 INTERFACING

11. Write an assembly language program for generating a triangular wave?


12. Write a program to find the largest from a set of ten numbers and display it using
LEDs.
13. Write a program to for displaying the decimal numbers in 7 Segment display?
14. Write a program to read the DIP switches for displaying the reading using 7 Segment
display.
15. Write a program to rotate the given motor in clockwise direction?
16. Write a program to rotate the given motor in anticlockwise direction?
17. Write a program to generate a square wave?
18. Write a program to display a message in LCD display.

CYCLE 3: EXPERIMENTS ON 8051 PROGRAMMING IN C USING KEIL

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.

You might also like