Question: Submit one file that includes your source code and an attached output of your program. Write an assembly program which does the following: define an
Submit one file that includes your source code and an attached output of your program.
Write an assembly program which does the following:
define an array of 32-bit integers (i.e. DWORDS)
.data
sarray DWORD 500h, 400h, 300h, 200h, 100h
daray DWORD 5 DUP(?)
-
output the sum of elements in intarray;
- copy sarray to darray, but the elements will be doubled in darray (you do that by adding each element to itself);
YOUR PROGRAM MUST USE A LOOP STRUCTURE.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
