Question: 3. [Indirect addressing] Write a program that first displays all the elements of Array1. Array2 and Array3. Then, the program should subtract all the odd

 3. [Indirect addressing] Write a program that first displays all the

3. [Indirect addressing] Write a program that first displays all the elements of Array1. Array2 and Array3. Then, the program should subtract all the odd indexed elements of Array2 from the odd indexed elements of Array1 and store the result in Array3; e.g. Array3 (7) - Array1 [7] - Array2 17). Next, it must add the even indexed elements of Array1 and Array 2 and store them in the corresponding even indexed elements of Array3, e.g. Array3 [4) - Array1 (4) + Array2 [4). Next, display the elements of all the arrays after these operations. Submit screenshots of the displays of the elements of all the arrays. You can use Writelnt or WriteHex to display the elements of the arrays. Fill in Array1 and Array2 each by your own ten numbers each using both positive and negative integers. idato Array1 Array2 Array SWORD 7,- SWORD -4- SWORD 10 DUP (?)

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!