Question: Create a new project to run the following program - Declare an array: - arrayB WORD 1,2,3,4 - Write code to Rearrange the array as

Create a new project to run the following program - Declare an array: - arrayB WORD 1,2,3,4 - Write code to Rearrange the array as follows: - 3,4,2,1 - Debug the code until you reach "INVOKE ExitProcess, 0" - Add the screenshot of your code in the answer sheet. Sample: .data arrayD DWORD 1,2,3 Step1: copy the FIRST value into EAX and exchange it with the value in the SECOND position mov eax, arrayD x chg eax, [arrayD+4] Step 2: Exchange EAX with the THIRD array value and copy the value in EAX to the FIRST array position. x chg eax, [arrayD+8] mov arrayD,eax
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
