8085 Programs: Microprocessor
8085 Programs: Microprocessor
1. Write a program to add data at 3005H & 3006H memory location and store the result
at 3007H memory location.
2. Write a program to arrange first 10 numbers from memory address 3000H in an
ascending order.
3. Write a progrma to find the largest number among 10 numbers.
4. Find the square of the given numbers from memory location 6100H and store the
result from memory location 7000H.
5. Writeva program to find the smallest number among 10.
6. Write a program to swap the content of two registter.
7. Write a program to find the even numbers from the given list of 50 numbers and store
them in the another list starting from 2300H. Assume starting address of 50 number
lists is 2200H.
8. Write a program to convert two BCD numbers in memory to the equivalent HEX
number using 8085 instruction set.
9. WAP for arranging 10 numbers in descending order.
10. Find the 2′s complement of the number stored at memory location 4200H and store
the complemented number at memory location 4300H
11. Write a program to shift an eight bit data four bits right. Assume data is in register C.
12. WAC To convert a BCD number to a binary number.
13. Write a program to subtract two hexadecimal & decimal numbers
14. Write a program using 8085 Microprocessor for addition and subtraction of two BCD
numbers.
15. Write a program to exchange the data at 5000M& 6000M memory location.
16. Exchange the contents of memory locations 2000H and 4000H.
17. Add the contents of memory locations 4000H and 4001H and place the result in
memory location 4002H.