Assembly Langusge ---> ARRAY MANIPULATION - please show output 1) Assign VALUES
ID: 3780181 • Letter: A
Question
Assembly Langusge ---> ARRAY MANIPULATION - please show output
1) Assign VALUES to an array that has at least 10 ELEMENTS,
2) Multiply each value by 2, and Return the Result to the original location, and then
3) REVERSE THE ORDER OF THE ELEMENTS.
Example:
1) ORIGINAL ARRAY CONTAINS:
2) MULTIPLY by 2: 2 | 4 | 6 | 8 | 10 | 12 | 14 | 16 | 18 | 20
3) REVERSE the ORDER: 20 | 18 | 16 | 14 | 12 | 10 | 8 | 6 | 4 | 2
**USE “CALL DUMPMEM” after each change to PRINT the changes that were made
1 2 3 4 5 6 7 8 9 10Explanation / Answer
#main.asm
===================================================