Let array1, and array2 be two arrays of SDWORDS defined in an assembly program. Let both of
Fantastic news! We've Found the answer you've been seeking!
Question:
Let array1, and array2 be two arrays of SDWORDS defined in an assembly program. Let both of them be defined to contain the same number of elements.
Write assembly code that goes through the entire array array1 and calculates array2 as the following:
for all i in [0,(length of array1)-1], array2[i]=array1[i]+array1[0]
You can use any registers you need.
Related Book For
A Survey of Mathematics with Applications
ISBN: 978-0134112107
10th edition
Authors: Allen R. Angel, Christine D. Abbott, Dennis Runde
Posted Date: