Microcontroller Lab Question Bank
Sem: 4th sem A &B
1. a) Write an ALP to copy the data from RAM location 70H to RAM location 20H.
b) Write a C- program to interface stepper motor to rotate clockwise and
counterclockwise with microcontroller.
2. a) Write an ALP to Move a block of data(N=5) from location 30H to another memory
location 8000H.
b) Write a C - program to interface 7-segment display with microcontroller.
3. a) Write an ALP to interchange a block of data of location 60h and 70h.
b) Write a C- program to interface DC motor to rotate clockwise and counterclockwise
with microcontroller.
4. a) Write an ALP to find the cube root of a number.
b) Write a C- program to generate square wave using DAC and find Ton and TOFF.
5. a) Write a ALP to find the largest number in a array.
b) Write a C-program to generate a ramp using DAC with microcontroller.
6. a) Write an ALP to arrange ten 8-bit numbers in ascending order stored in the
external memory.
b) Write a C- program to interface stepper motor to rotate clockwise and
counterclockwise with microcontroller.
7. a) Write an ALP to arrange ten 8-bit numbers in descending order stored in the
external memory.
b) Write a MSP430 program to transfer data from one memory to another memory.
8. a) Write an ALP to interchange a block of data of location 8060h and 8070h.
b) Write a C- program to interface inter face 7-segment with microcontroller.
9. a) Write a ALP to perform 16 bit addition.
b) Write a C- program to interface DC motor to rotate clockwise and counterclockwise
with microcontroller.
10. a)Write a ALP to perform 16 bit subtraction.
b) Write a MSP430 program to interchange the data from one memory to
another memory.
11. a) Write an ALP to find the cube root of a number.
b) Write a C -program to interface 7-segment display with microcontroller.
12. a) Write an ALP to perform the following logical operations
If X=0, perform num1 AND num2, If X=1, perform num1 OR num2
If X=2, perform num1 XOR num2 else result is 00.
b) Write a MSP430 program to convert ASCII to Hexadecimal .
13. a) Write an ALP to perform the following arithmetic operations
If X=0, perform num1 + num2, If X=1, perform num1 - num2
If X=2, perform num1 X num2 If X=3, perform num1 / num2 or else result is 00.
b) b) Write a MSP430 program to convert ASCII to Hexadecimal .
14. a) Write an ALP to perform the operation of a Hexadecimal UP counter.
b) Write a C- program to interface stepper motor to rotate clockwise and
counterclockwise with microcontroller
15. a) Write an ALP to perform the operation of a decimal UP counter.
b) Write a C-program for interfacing the 7-segment with microcontroller.
16. a) Write an ALP to generate Fibonacci series upto Nth term.
b) Write a MSP430 program to interchange the data from one memory to another
memory.
17. a)Write a ALP to find the largest number in a given array.
b) Write a C-program to generate a sine using DAC with microcontroller.
18. a) Write an ALP to transfer a SJCIT  by using serial
port and display in serial window#1.with 9600 baurdrate
b) Write an MSP430 program to interchange 10 bytes of data.
19 a) Write an ALP to transfer a letter  MICROCONTROLLER by using serial
port and display in serial window#1.with 9600 baurdrate
b) Write a MSP430 program to convert ASCII to Hexadecimal .
20. a) Write an ALP to convert hex to ASCII conversion.
b) Write an MSP430 program to interchange 10 bytes of data.
21. a) Write an ALP to convert ASCII to decimal conversion.
b) b) Write a MSP430 program to convert ASCII to Hexadecimal .
22. a) Write an ALP to toggle P1.5 using timer0 with time 10ms delay.
b) Write an MSP430 program to interchange 10 bytes of data.
23. a) Write an ALP to toggle all the pins of port1 using timer1 with 10ms time delay.
b) Write a MSP430 program to transfer data from one memory to another memory.
24. a) Write an ALP to transfer a letter SJCIT by using serial port and display in serial
window#1.with 9600 baurdrate.
b) Write an MSP430 program to interchange 10 bytes of data.