Professional Documents
Culture Documents
Assignments 1 and 2
Assignments 1 and 2
Q3. Ten bytes of data (10 packed BCD numbers) is stored in the memory
location starting from 8900H. Write an 8085 program to convert these
BCD digits to HEX and store the 10 byte result from memory location
89A0H onwards.
Q1. Ten bytes of data (HEX digits) is stored in the memory location
starting from 8900H. Write an 8085 program to convert these HEX digits
to packed BCD and store the 20 byte result from memory location 89A0H
onwards.
Q2. Write an 8085 program to compute the product of two HEX numbers
stored in memory locations 8900H and 8901H. Store the 2-byte result from
memory location 8903H onwards.
Q3. Write an 8085 program to divide the number stored in 8900H by the
number stored in 8901H. Store the quotient and reminder in memory
locations 8902H and 8903H respectively.