Question: From The Atmel AVR Microcontroller: MEGA and XMEGA in Assembly and C by Han-Way Huang (31-Jan-2013) E5.6 Write a subroutine to find the number of

From The Atmel AVR Microcontroller: MEGA and XMEGA in Assembly and C by Han-Way Huang (31-Jan-2013)

E5.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.

Our chip is ATmega328P, and we use Atmel Studio 7.0 . Thanks :)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!