Question: Assembly language loop instruction. Q. What will be the final value of EAX in this example? mov eax,0 mov ecx,10 ; outer loop counter L1:
Assembly language loop instruction.
Q. What will be the final value of EAX in this example?
mov eax,0
mov ecx,10 ; outer loop counter
L1:
mov eax,3
mov ecx,5 ; inner loop counter
L2:
add eax,5
loop L2 ; repeat inner loop
loop L1 ; repeat outer loop
Please show how it is done, if possible. Thanks
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
