Question: 1. What will be the final value of eax and ebx after this code executes? mov eax,1 mov ecx,6 LI: add eax, 1 dec ecx
1. What will be the final value of eax and ebx after this code executes? mov eax,1 mov ecx,6 LI: add eax, 1 dec ecx mov ebx,ecx loop L1 2. (Challenge): 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 2 add eax,5 loop L2 repeat inner loop loop L1 repeat outer loop
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
