Question: Given an array of 15 elements byte-sized at address $1000. The elements are: 3,7,8,13,15,10,1,0,9,19,4,2,6,8,11 Write a code at address $2000, to do the following :

Given an array of 15 elements byte-sized at address $1000. The elements are: 3,7,8,13,15,10,1,0,9,19,4,2,6,8,11 Write a code at address $2000, to do the following : 1. Count the number of even elements in the array and save the result at address $1500 2. Find the address of the largest element in the array and save the result at address $1600 3. Sum the elements that are greater than or equal to 8 and save the result at address $1700 4. Add 2 to each element less than or equal to 5 Comment on every line to explain what it does
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
