Assume that an ARM7 processor is used for the following problems.

Write an assembly language function that can be called from the C function prototype below that accepts an array (x) of length count. The function should

return the number of the integers that are both even and positive in the array.

ex: {-2, -1, 0, 1, 2, 3, 4} → returns 2

extern uint32_t numberOfPositiveEvenValues(const int32_t x[], uint32_t count)

Sample Solution

This question has been answered.

Get Answer