Question: Programming Assignment 2 Due by end of recitation the week of 13-February, 2023 Write and test an ARMv8 program which calculates the sum of all

Programming Assignment 2 Due by end of recitation the week of 13-February, 2023 Write and test an ARMv8 program which calculates the sum of all even numbers in an array of n non-zero positive integers. Store the array in the data section. You may use any values for testing, but you will be given an array on the due date which you must use. The array will have an arbitrary size and will be terminated with a value of 0 . Create a loop to iterate through the array and determine whether values are even or odd. Even values will have their low-order bit set to zero, and odd values will have the low-order bit set to one. Some new instructions that you should be familiar with: TST, CBZ, CBNZ, B
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
