Question: Consider the following 0x86 program: .data array DWORD 1,2,3,4,5,6,7,8,9 arraySize (S-array)/4 ; array .code main PROC mov ecx,arraySize-1 mov esi.QFFSET array LI: mov ax. [ssi]
- Consider the following 0x86 program: .data array DWORD 1,2,3,4,5,6,7,8,9 arraySize (S-array)/4 ; array .code main PROC mov ecx,arraySize-1 mov esi.QFFSET array LI: mov çax. [ssi] mov bx,2 idiy bx add esi,4 smp edx,0 je Ibl imp next Ibl: mov eax, [esi] shr eax,1 mov [esi].eax. next: loop LI exit main ENDP END main What is the content of the array at the end of the program?
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
