List of 8085 assembly language programs
1. Write an assembly language program to Add two 8-bit numbers.
2. Write an assembly language program to Add two 16-bit numbers.
3. Write an assembly language program to Subtract two 8-bit numbers.
4. Write an assembly language program to Subtract two 16-bit numbers.
5. Write an assembly language program to Multiplication of two 8-bit numbers.
6. Write an assembly language program to Division of two 8-bit numbers.
7. Write an assembly language program to Data Transfer from one memory block to
another in forward order.
8. Write an assembly language program to Data Transfer from one memory block to
another in reverse order.
9. Write an assembly language program to Data Exchange from one memory block
to another in forward order.
10. Write an assembly language program to Data Exchange from one memory block
to another in reverse order.
11. Write an assembly language program for Sorting of array in ascending order.
12. Write an assembly language program for Sorting of array in descending order.
13. Write an assembly language program for Sum of all the numbers in array.
14. Write an assembly language program to Find largest number in array.
15. Write an assembly language program to Find smallest number in array.
16. Write an assembly language program to Generate Fibonacci series.
17. Write an assembly language program to Find total even numbers present in
array.
18. Write an assembly language program to Find total odd numbers present in array.
19. Write an assembly language program to Find total positive numbers present in
array.
20. Write an assembly language program to Find total negative numbers present in
array.
21. Write an assembly language program for 1’s /2's complement of an 8-bit number.
22. Write an assembly language program for 1’s /2's complement of a 16 bit number.
23. Write an assembly language program to Count the number of 1’s/0’s in a byte.
24. Write an assembly language program to Square of a number using look up table.
INDEX
Sr. No. Date Program Checked & verified
1.
2.
3.
4.
5.
6.
7.
8.
9.
10.
11.
12.
13.
14.
15.
16.
17.
18.
19.
20.
21.
22.
23.
24.
SAMPLE PROGRAM
AIM: Write an assembly language program to Add two 8-bit numbers.
Program Analysis: Two 8 bit numbers are stored in memory location 2000H & 2001H.
After addition sum is stored at memory location 2002H & carry is stored at memory
location 2003H.
Assembly Language Program:
Memory Label Mnemonics Hex M/C T-State Comments
Address Code Cycle
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
100A
100B
100C
100D
100E
100F
1010
Results: The program is executed and the results are stored in the memory location
2002H & 2003H.
Input Output
Memory Address Data Memory Address Data
2000 2002
2001 2003