03-08-2013, 02:27 PM
MULTIPLICATION OF TWO 8 BIT NUMBERS
AIM:
To perform the multiplication of two 8 bit numbers using 8085.
ALGORITHM:
Start the program by loading HL register pair with address of memory location.
Move the data to a register (B register).
Get the second data and load into Accumulator.
Add the two register contents.
Check for carry.
Increment the value of carry.
Check whether repeated addition is over and store the value of product and carry
in memory location.
8) Terminate the program.
RESULT:
Thus the program to multiply two 8-bit numbers was executed.