0% found this document useful (0 votes)
20 views

Microprocessor and Micro Controller Lab

The document outlines 19 questions for an external examination on microprocessor and microcontroller labs. The questions ask students to write assembly language programs (ALPs) for the 8086 and 8051 microprocessors/microcontrollers to perform tasks like adding and sorting arrays, performing math operations on numbers in various formats, and using parallel and serial ports with delays. The programs are to store results in specified memory locations.

Uploaded by

Rajkumar CH
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
20 views

Microprocessor and Micro Controller Lab

The document outlines 19 questions for an external examination on microprocessor and microcontroller labs. The questions ask students to write assembly language programs (ALPs) for the 8086 and 8051 microprocessors/microcontrollers to perform tasks like adding and sorting arrays, performing math operations on numbers in various formats, and using parallel and serial ports with delays. The programs are to store results in specified memory locations.

Uploaded by

Rajkumar CH
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 2

MICROPROCESSOR AND MICROCONTROLLER LAB EXTERNAL EXAMINATION

1. Write an 8086 ALP to add two array of numbers whose length is 5 and

store the result in

memory location starting from 2000H.

2. Write an 8086 ALP to find the largest in the array of length 5 and store

the result in memory location 2000H.


3. Write an 8086 ALP to find the average of array of numbers whose

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.

You might also like