Question: .386 .model flat, stdcall .stack 4096 ExitProcess proto, dwExitCode:dword .data .code main PROC INVOKE ExitProcess, 0 main ENDP END main Create 2 Arrays, Array1 and
.386 .model flat, stdcall .stack 4096 ExitProcess proto, dwExitCode:dword
.data
.code main PROC
INVOKE ExitProcess, 0 main ENDP END main
Create 2 Arrays, Array1 and Array2
-Initialize Array1 as: 1, 2, 3, 4, and Array_2 to 0,0,0,0 (must use the DUP instruction)
Requirement: Copy content of Array 1 to array 2 in a reverse order, i,e:
For example: Array1 = 1, 2, 3, 4 After program run: Array2 = 4, 3, 2, 1, Array _1 is unchanged, content are taken from array1 to array 2
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
