Question: What will be the result in array after the following instructions execute? . data array dword 5 , 4 , 3 , 2 , 1
What will be the result in array after the following instructions execute?
data
array dword
var word
code
cld
mov esi, offset array
mov bx val
mov ecx, lengthof array
L:
mov eax, esi
shl eax, bx
mov esi eax
loop L
Array will contain the following values:
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
