Sri Venkateswara College of Engineering Sriperumbudur-602105. EC1307 Microprocessor and application lab Date: 02-04-2007 1. Write a program for 8085 to add two unsigned 16-bit binary numbers and display the result. 2. Write a program for 8085 to multiply two unsigned 8-bit binary numbers using successive addition method. 3. Write a program for 8085 to divide two 8-bit binary numbers. 4. Write a program for 8085 to compute the difference between two 16-bit binary numbers and display the result. 5. Write a program for 8085 to find the sum of a series of N unsigned 8-bit binary numbers and display the result. 6. Write a program to pick out and display the largest of an array of N 8-bit binary numbers. 7. Write a program for 8085 to sort the given numbers in descending order. 8. Write a program to divide the contents of 8900 into two 4-bit section and store the least significant 4-bits as the least significant bits of 8901 and most significant 4bits as the least significant bits of 8902. Multiply the contents of 8901 and 8902 and store the result in 8903. 9. Write a program for 8085 to subtract two BCD numbers. 10. Write a program for 8085 to add two multibyte BCD data. 11. Write a program to control the speed and direction of a stepper motor. 12. Write a program for 8085 to count number of 1’s in the given 8-bit data and display the count value. 13. Write a program for 8085 to separate out odd and even numbers in an array of 8bit data. 14. Write a program to generate the following waveforms. a. H/W rectifier o/p b. F/W rectifier o/p c. 5V 2.5V 0V
d.
5V 2.5V 0V
e.
5V 2.5V 0V 15. Write a program that adds the contents of 8900 squared the contents of 8901 squared and places the result in 8902. Assume unsigned numbers less than 8 as data. 16. Write a program to pick out and display the smallest of an array of N 8-bit binary numbers. 17. Write a program for 8085 to add two multibyte binary data. 18. A block of data is stored from 8900 and 890A. Write a program for 8085 to store in reverse order in the same locations. 19. Write a program for decimal count from 99 to 00. 20. Write a program for 8085 to determine the digital equivalent of the analog input voltage by interfacing the proper hardware board. 21. Write a program for 8085 to subtract two mutibyte binary data and verify. 22. Write a program for 8085 to multiply two 16-bit data and execute. 23. Write a program for 8085 to divide tow 16-bit data and verify the result.