Question: what is causing wrong in here INPUT Store B / / 2 INPUT store A / / 1 6 OuterLoop, Load A / /
what is causing wrong in here INPUT
Store B
INPUT
store A
OuterLoop, Load A
Store X
Load B
Store Y
Load C
add One
store C
DiviLoop, Load Counter
add One
Store Counter
Load X
Subt Y
Store X
skipcond if x is skip
Jump DiviLoop F
Load Counter if counter Ac
skipcond
Jump EXIT
Jump Next
Next, Store A
Load Zero
Store Counter
Jump OuterLoop
EXIT, Load C
Subt One
Store C
Output
HALT
C DEC
A DEC
B DEC
Counter, DEC
X DEC
Y DEC
One, DEC
Zero, Dec
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
