Question: Write an 8 0 5 1 ALP to add two multi - byte BCD numbers together and store the result in RAM locations 4 0
Write an ALP to add two multibyte BCD numbers together and store the result in RAM
locations The two multibyte items are stored in the ROM space starting at H
and H See the following example data.
ORG H
DATA: DB ;number H
DATA DB HHHH ;number H
Pick your own data for your program. Notice that you must first bring the data from ROM
space into the CPU's RAM and then add them together. Use a simulator to singlestep the
program and examine the data.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
