You are on page 1of 1

Microcontroller lab Test

Sem : 4th B section (batch B4) Time : 2.30 to 4.30


Faculty : NS and DRP Marks: 20

Lab Test Questions :


1. Write an 8051 ALP to find second largest in an array of 5 numbers
2. Write an 8051 ALP to find second smallest in an array of 5 numbers
3. Write an 8051 ALP to convert 8 bit binary number to 8-bit BCD number
4. Write an 8051 ALP to convert 8 bit BCD number to 8-bit Binary number
5. Write an 8051 ALP to convert 2 - 8 bit ASCII number to a single 8-bit BCD
number
6. Write an 8051 ALP to convert 16 bit BCD number to ASCII numbers
7. Write an 8051 ALP to merge array with odd numbers to array with even
numbers in to a single array
8. Write an 8051 ALP to compute 1+2+3+4+……N and store the result in any
consecutive memory locations
9. Write an 8051 ALP to find cube of an 8 bit binary number
10. Write an 8051 ALP to convert 8 bit binary number to 8-bit Gray number
11. Write an 8051 ALP to convert 8 bit Gray to 8-bit binary number
12. Write an 8051 ALP to divide 16 bit number by 8 bit number and store the
result in consecutive memory locations
13. Write an 8051 ALP to multiply 16 bit number by 8 bit number and store the
result in consecutive memory locations
14. Write an 8051 ALP to shift 24 bi t number stored at locations 55h to 57h by
4 places
15. Write an 8051 ALP to implement 16 bit binary up counter given the delay of
200ms
16. Write an 8051 ALP to implement 16 bit binary down counter given the delay
of 200ms
17. Write an 8051 ALP to find square and cube of an array of 8 bit binary
numbers using two look up tables
18. Write an 8051 ALP to find whether the given number is 3 out of 5 code

You might also like