(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
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
(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
(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.
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!