Question: Write a program to add two multi-byte BCD numbers together and store the result in RAM locations 40H - 44H. The two multi-byte items are
Write a program to add two multi-byte BCD numbers together and store the result in RAM locations 40H - 44H. The two multi-byte items are stored in the ROM space starting at 120H and 150H. See the following example data.
ORG 120H
DATA_1: DB 54H,76H,65H,98H ;number 98657654H
DATA_2 DB 93H,56H,77H,38H ;number 38775693H
Using 8051
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
