8085
1. ALP to load the content of memory Location directly to the accumulator, then transfer it
to register B.
2. ALP to add two 8- bit numbers stored at memory locations and store the result in
specified memory locations.
3. ALP to subtract two 8- bit numbers stored at memory locations and store the result in
specified memory locations. If the result is positive store 00 and if the result is negative
store 01.
4. ALP to multiply two 8-bit numbers stored in given memory locations then store the 16bit
result in specified memory locations using repeated addition technique.
5. ALP to multiply two 8-bit numbers stored in given memory locations then store the 16bit
result in specified memory locations using the bit rotation technique.
6. ALP to perform division of two 8-bit numbers stored in given memory locations and
store the quotient and reminder in specific memory locations.
7. ALP to sum of series of 8- bit numbers. Store the result in specified memory locations.
Assume that the sum does not exceed 16-bit.
8. ALP to check the hex number stored in given location for odd or even parity. If the parity
is odd, 00 will be store, Otherwise, EE is stored.
9. Ten bytes of data are stored in given memory locations. Write an ALP to transfer block of
data to new specified memory locations.
10. ALP to find the largest number from a series of a numbers.
11. ALP to find 2’s complement of an 8- bit number store at given memory location.
12. ALP to arrange a series of numbers in ascending order.
13. ALP to arrange a series of numbers in descending order.
14. ALP to compare two 8-bit numbers located at given memory locations. If the number
equal load FF at register D else 00 at same register.
15. Write an ALP in 8085 to sort a given list of 10 numbers store on a memory location
3066h onward.
16. Write an ALP in 8085 to find the sum of series of 10 terms as 12
+22+32+42+52+62+72+82+92+102.
17. Write an ALP to find out the smallest number among ten 8-bit data’s stored in a
memory location C000h to [Link] store that value in D000h.
18. Write an ALP to find out the smallest number of three numbers.
19. Write an ALP to find out the greatest number among ten 8-bit data’s stored in a
memory location D000h to [Link] store that value in F000h and display on output
device 48h.
20. Write an ALP in 8085 to find the smallest number among array of numbers.
21. Write an ALP in 8085 to generate the Fibonacci series of first 10 terms starting from 1.
22. Write an ALP in 8085 to check whether the number stored in memory location 2060h is
odd or even. If the number is odd ,store FFH in memory location C00FH else store 00h.
23. Write an ALP in 8085 to check whether the number stored in memory location 2060h is
Prime or not . If the number is prime ,store FFH in memory location C00FH else store
00h.
24. Write an ALP in 8085 to check whether the number stored in memory location D001h is
Positive or negative . If the number is positive ,store it in memory location C001H else
store in C002h.
25. Write an ALP in 8085 to count the numbers of 1 in the given string ‘101101010’ and
display the result in C0C0h.
26. Write an ALP in 8085 to count the integer available in an array starting from 7 memory
location 3500h to 3510h for exactly divisible by two and save the result in the register B.
27. Write an ALP in 8085 to add two-32 bit numbers stored in memory locations starting
from 2000h and 3000h respectively.
28. Write an ALP for intel 8085 to compute Σni=1 (xi/2) where xi are the three numbers stored
at memory locations A001h to A003h. store the result at address C000h.
8086
1. Write an 8086 ALP which will input the user name/string from the keyboard then
print/display it in the reverse order.
2. Write a program in MASM to find square root of a number.
3. Write an ALP in 8086 to display “POKHARA UNIVERSITY” without using 09h
function.
4. Write an ALP in 8086 to check whether a given string is palindrome or not.
5. Write an 8086 program to enter string from the keyboard. Count the number of
repetitions of letter ‘a’ or ‘A’ .if the count is even display “POKHARA” else display
“UNIVERSITY”.
6. Write an ALP in 8086 to find the largest number among 10 block of data and store the
largest value in location “largest”.
7. Write an 8086 ALP for MASM in DOS mode to print each word of a string in different
lines.
8. Write an ALP in 8086 to display the string “POKHARA UNIVERSITY” at console.
9. Write an ALP in 8086 to display the string “POKHARA UNIVERSITY” in lower case.
10. Write an ALP in 8086 to find whether a number is Positive or Negative.