Question: 5.6 Write a subroutine to find the number of elements in an array that are a multiple of 5. The pointer to the array is
5.6 Write a subroutine to find the number of elements in an array that are a multiple of 5. The pointer to the array is passed in r30~r31, whereas the array count is passed in r16. The array has no more than 255 16-bit unsigned integers. The subroutine returns the result in register r22.
Please solve using Atmel studio 7 ATMega 2650.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
