Page 1 of 1

(2) Assume that the following two arrays (A and B) are given: A= 9, 7, 3, 5, 1, 3, 7, 8, 4,5 B=1, 3, 8, 9, 5, 9, 4, 6, 5

Posted: Fri Apr 29, 2022 7:01 am
by answerhappygod
2 Assume That The Following Two Arrays A And B Are Given A 9 7 3 5 1 3 7 8 4 5 B 1 3 8 9 5 9 4 6 5 1
2 Assume That The Following Two Arrays A And B Are Given A 9 7 3 5 1 3 7 8 4 5 B 1 3 8 9 5 9 4 6 5 1 (18.73 KiB) Viewed 24 times
(2) Assume that the following two arrays (A and B) are given: A= 9, 7, 3, 5, 1, 3, 7, 8, 4,5 B=1, 3, 8, 9, 5, 9, 4, 6, 5, 7 Write a program that calculates the sum of elements in array A and array B respectively. The sum of A (SUMA), sum of B (SUMB) and sum of both arrays (SUMAB) will be saved to the data segment starting from the offset address 0600H.