Question: Write an assembly program to compute the sum of LIST1 and the sum of LIST2. LIST1 has three 32-bit Hex and LIST2 has four 32-bit

Write an assembly program to compute the sum of LIST1 and the sum of LIST2. LIST1 has three 32-bit Hex and LIST2 has four 32-bit Hex numbers, shown below. Store the sum of LIST1 in variable SUM1 and the sum of LIST2 in variable SUM2, and display these sums.

Then exchange these two sums and display again.

LIST1: 10h, 20h, 30h

LIST2: 10h, 20h, 30h, 40h

Print the contents of SUM1 and SUM2 before and after you exchange the values.

Turn in your program codes and screen shots.

Use a loop with indirect or indexed addressing to reverse the elements of an integer array in place. Do not copy the elements to any other array. Use the SIZEOF, TYPE, and LENGTHOF operators to make the program as flexible as possible if the array size and type should be changed in the future. Display the modified array. Add adequate documentations. Turn in your program codes and screen shots.

We use Visual Studios C++

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!