Question: What the following program is doing: START: LDA 5000H MOV BA LDA 5001H ADI 01H ADD B JC STEP ADI 01H STA 5002H JMP STOP

What the following program is doing: START: LDA 5000H MOV BA LDA 5001H ADI 01H ADD B JC STEP ADI 01H STA 5002H JMP STOP STEP: STA 5002H STOP: HLT Select one: a. Multiplying number in location 5001H by number in location 5000H. store result in 5002H b. Adding number in location 5001H to number in location 5000H, store result in 5002H C. None of the given options d. Subtracting number in location 5000H from number in location 5001H, store result in 5002H e. Dividing number in location 5000H by number in location 5001H, store result in 5002H
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
