1. Program for addition of two arrays. The length of array is given at memory location 5000H. The array 1 starts from 5001H and array 2 starts from 6001H. Store the result array from 7001H.
Screenshot for array 1. See the contents of memory locations from 5000H. The length of array is 5.
Screenshot for array 2. See the contents of memory locations from 6001H. The length of array is 5.
Screenshot for result array. See the content of memory locations from 7001H.
2. Program for subtraction of two arrays. The length of array is given at memory location 5000H. The array 1 starts from 5001H and array 2 starts from 6001H. Store the result array from 7001H.
Screenshot for result array. See the content of memory locations from 7001H. The length and values of the array 1 and 2 are same as in the previous case. The negative numbers are in 2's compliment form.
Screenshot for array 1. See the contents of memory locations from 5000H. The length of array is 5.
Screenshot for array 2. See the contents of memory locations from 6001H. The length of array is 5.
Screenshot for result array. See the content of memory locations from 7001H.
2. Program for subtraction of two arrays. The length of array is given at memory location 5000H. The array 1 starts from 5001H and array 2 starts from 6001H. Store the result array from 7001H.
Screenshot for result array. See the content of memory locations from 7001H. The length and values of the array 1 and 2 are same as in the previous case. The negative numbers are in 2's compliment form.
No comments:
Post a Comment