Question: Write a loop that sums the pairs of elements in an array and puts that answer into another array. Example: Array1 byte 1d, 8d, 3d,

Write a loop that sums the pairs of elements in an array and puts that answer into another array. Example: Array1 byte 1d, 8d, 3d, 12d, 5d, 130, 7d, 18://pairs are color coded. You must include the following elements of code in your code in the appropriate places TheArray word 30d dup(0) mov edx, 0:// put this section of code at the top of your main Proc Mov ecx, 30d Call randomize://you Must include the Irvine library to use this function Loop: call random 32 Mov word ptr[thearray + edx), ax Add edx, type thearray Loop loop1
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
