8085 Microprocessor Problems
8085 Microprocessor Problems
Q1. Write an assembly language Program for 8-bit addition of two numbers which are
stored in a memory location 2070 and 2071. Store the result in 2075. (Result in
Hexadecimal)
Q2. Write an assembly language Program for 16-bit addition of two numbers which are
stored in a memory location 2070 and 2072. Store the result in 2075. (Result in Decimal)
Q3. Write an assembly language Program for 8-bit subtraction of two numbers which are
stored in a memory location 2070 and 2071. Store the result in 2075. (Result in Decimal)
Q4. Write an assembly language Program for 16-bit subtraction of two numbers which
are stored in a memory location 2070 and 2072. Store the result in 2075. (Result in
Hexadecimal)
Q.5. Write an assembly language Program for performing X-OR operation of two
numbers which are stored in a memory location 2050 and 2051. Store the result in 2055.
Q6. Write an assembly language Program for performing NOR operation of two numbers
which are stored in a memory location 2050 and 2051. Store the result in 2055.
Q7. Write an assembly language Program for performing NAND operation of two
numbers which are stored in a memory location 2050 and 2051. Store the result in 2055.
Q8. Write an assembly language Program for performing 1’s Compliment of a given
number which is stored in a memory location 2050. Store the result in 2055.
Q9. Write an assembly language Program for performing 2’s Compliment of a given
number which is stored in a memory location 2050. Store the result in 2055.
Q10. Write an assembly language Program for shifting a given number 6 times in left
which is stored in a memory location 2050. Store the result in 2055.
Q11. Write an assembly language Program for shifting a given number 8 times in right
which is stored in a memory location 2050. Store the result in 2055.
Q12. Write an assembly language Program for masking MSB of a given number which is
stored in a memory location 2050. Store the result in 2055.
Q13 Write an assembly language Program for masking LSB of a given number which is
stored in a memory location 2050. Store the result in 2055.
Q14. Write an assembly language Program for adding a series of 7 numbers which are
stored in a memory location from 2050 to 2056. Store the result in 2060 (Result in
Hexadecimal) The Numbers are 02, 04, 06, 07, 08, 09 0A.
Q15. Write an assembly language Program for adding a series of 7 numbers which are
stored in a memory location from 2050 to 2056. Store the result in 2060 (Result in
Decimal) The Numbers are 04, 05, 07, 09, 0A, 09 0D
Q16. Write an assembly language Program to generate the following sequence: 00, 07, 14,
21, 28, 35, 42 (decimal) Store in a memory location from 2050. to 2056
Q17. Write an assembly language to find out smallest number from the given array of
numbers which are stored in a memory location from 2050 to 2056. Store the result in
2060. The Numbers are 02, 04, 06, 07, 08, 09 0A.
Q18. Write an assembly language to find out largest number from the given array of
numbers which are stored in a memory location from 2050 to 2056. Store the result in
2060. The Numbers are 02, 04, 06, 07, 08, 09 0A
Q19. Write an assembly language Program for 8-bit multiplication of two numbers which
are stored in a memory location 2070 and 2071. Store the result in 2075. (Result in
Hexadecimal)
Q20. Write an assembly language Program for 8-bit multiplication of two numbers which
are stored in a memory location 2070 and 2071. Store the result in 2075. (Result in
Decimal)