03-08-2013, 02:25 PM
ADDITION OF TWO 8 BIT NUMBERS
AIM:
To perform addition of two 8 bit numbers using 8085.
ALGORITHM:
Start the program by loading the first data into Accumulator.
Move the data to a register (B register).
Get the second data and load into Accumulator.
Add the two register contents.
Check for carry.
Store the value of sum and carry in memory location.
Terminate the program.
RESULT:
Thus the program to add two 8-bit numbers was executed.