Question: What will be the final values of EBX when the following code executes? . data array SDWORD 5 , 3 , - 1 , -

What will be the final values of EBX when the following code executes?
.data
array SDWORD 5,3,-1,-1,1
.code
mov ecx, LENGTHOF array
mov esi, 0
mov eax, array
L1: cmp eax, array[esi]
jle L2
mov ebx, esi
mov eax, array[esi]
L2: add esi, TYPE array
Loop L1
Question 10 options:
A
C
D
B

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!