Vous êtes sur la page 1sur 3

List Of Microcontroller Programs

1. Write an ALP to move block of data bytes present in internal memory with starting address
10h and ending address 20h to the destination memory with starting address 30h.
(Without overlap).
2. Write an ALP to move block of data bytes present in internal memory with starting address
10h and ending address 20h to the destination memory with starting address 15h.
(With overlap).
3. Write an ALP to move block of data bytes present in external memory with starting
address 8000h to the destination memory with starting address 9000h and size of array is
10h.
4. Write an ALP to exchange block of data bytes present in external memory. Starting
address of first is 8000h and starting address of other block 9000h and size of array is
10h.
5. Write an ALP to sort a given array present in external memory with a starting address
9000h and size of an array is 10h using bubble sort technique.
6. Write an ALP to add n bytes stored in external RAM (Starting address 9000 and no of
bytes is 10 or 0Ah)
7. Write an ALP to find largest element in a given array present in external memory with a
starting address 9000h and size of an array is 10h.
8. Write an ALP to find smallest element in a given array present in external memory with a
starting address 9000h and size of an array is 10h.
9. Write an ALP to find largest element in a given array present in internal memory with a
starting address 10h and size of an array is 10h.
10. Write an ALP to find smallest element in a given array present in internal memory with a
starting address 10h and size of an array is 10h.
11. Write an ALP to search a byte in an array of bytes stored in external RAM.
12. Write an ALP to search a byte in an array of bytes stored in internal RAM.
13. Write an ALP to illustrate addition, subtraction, multiplication and division of two 8 bit
numbers.
14. Write an ALP to illustrate logical operations like AND, OR, NOT and XOR.
15. Write an ALP to find number of once and zeros in byte.

16. Write an ALP to find whether a given number is even or odd.


17. Write an ALP to add two 2 byte numbers.
18. Write an ALP to subtract 2 byte number from another 2 byte number.
19. Write an ALP to illustrate hexadecimal up counter with a given staring and ending value.
20. Write an ALP to illustrate hexadecimal down counter with a given staring and ending
value.
21. Write an ALP to illustrate decimal up counter with a given staring and ending value.
22. Write an ALP to illustrate decimal down counter with a given staring and ending value.
23. Write an ALP to demonstrate call and return instruction using a program to find factorial of
a number.
24. Write an ALP to convert decimal number to its equivalent hexadecimal number.
25. Write an ALP to convert hexadecimal number to its equivalent decimal number.
26. Write an ALP to convert decimal number to its equivalent ASCII code.
27. Write an ALP to convert ASCII code to its equivalent decimal number.
28. Write an ALP to convert BCD to its equivalent ASCII code.
22. C Program to interface stepper motor to 8051 microcontroller and to rotate stepper motor
in a clockwise direction.
23. C Program to interface stepper motor to 8051 microcontroller and to rotate stepper motor
in anti clockwise direction
24. C Program to interface DC motor to 8051 microcontroller and rotate it to rated speed.
23. C program to demonstrate elevator double priority operation using control circuit
consisting of LEDs and keys.
24. Generate rectangular waveform with duty cycle 75%.
25. Generate unipolar rectangular wave with 4V peak and 50% duty cycle.
26. Generate unipolar triangular wave with 4V peak and 50% duty cycle.
27. Generate unipolar sine wave with 4V peak and 50% duty cycle.

28. Generate bipolar rectangular wave with 4V positive peak, 3V negative peak and 50% duty
cycle.
29. Generate bipolar triangular wave with 4V positive peak, 3V negative peak and 50% duty
cycle.
30. Generate bipolar sawtooth wave with 4V positive peak, 3V negative peak and 50% duty
cycle.
31. Generate bipolar sine wave with 4V positive peak, 3V negative peak and 50% duty cycle.
32. Generate bipolar rectangular wave with 4V positive peak, 3V negative peak and 50% duty
cycle.
33. Display GSSSEE using 6 digit seven segment display interface to microcontroller.

* * * Nahi Ghnanena Sadrusham * * *