Loop Iterations
Write an assembly language program that simualtes the following program:
writeln('Enter multiple');
readln(mult);
writeln('Enter ending value');
readln(stop);
for i:= 1 to stop do
writeln(i*mult);
- The assembly language program must use a register to control the loop by computing the number of iterations prior to execution of the loop.
- The program cannot use the a multiplcation instruction.
PUTDEC and GETDEC are allowed.