Microprocessor and Micro Controller Lab
Microprocessor and Micro Controller Lab
1. Write an 8086 ALP to add two array of numbers whose length is 5 and
2. Write an 8086 ALP to find the largest in the array of length 5 and store
length is 10 and store the result in memory location 2000H. 4. Write an 8086 ALP to convert packed BCD to unpacked BCD and store the result in memory location 3000H. 5. Write an 8086 ALP to convert unpacked BCD to packed BCD and store the result in memory location 3000H. 6. Write an 8086 ALP to find the smallest in the array of length 5 and store the result in memory location 2000H.
7. Write an 8086 ALP to arrange the array of length 5 in descending order
and store the result in memory location starting from 3000H. 8. Write an 8086 ALP to arrange the array of length 5 in ascending order and store the result in memory location starting from 3000H. 9. Write an 8086 ALP to find the even numbers in the array of length 5 and store the numbers in memory location starting from 2000H. 10. Write an 8086 ALP to find the odd numbers in the array of length 5 and store the numbers in memory location starting from 2000H. 11. Write an 8086 ALP to swap the two arrays of each length 5 from one location to another. 12. Write an 8086 ALP to input the string and print the string on the screen. 13. Write an 8051 ALP to find the average of three 8-bit numbers.
14. Write an 8051 ALP to add two 16-bit numbers and store the result in the memory location starting from 2000H.
15. Write an 8051 ALP for Addition, subtraction and Multiplication of 8-bit
numbers and store the results in 2000H,3000H and 4000H. 16. Write an 8051 ALP to subtract two 16-bit numbers and store the result in the memory location starting from 3000H. 17. Write an ALP to read/ write parallel port of 8051.
18. Write an ALP to set or reset P1.3 with a delay of 5s using timer mode. 19. Write an ALP for serial port communication to send V S L with a delay
of 5s.