Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

ARM ASSEMBLY LANGUAGE!! Write an assembly language function void initArray(int *

ID: 3853313 • Letter: A

Question

ARM ASSEMBLY LANGUAGE!!

Write an assembly language function void initArray(int *Arr, int Value, int Count) to set all elements of array Arr passed as an argument to the Value passed also as an argument if and only if the Arr element is greater than the value (i.e. if value > Arr[i] then Arr[i] = value). The number of elements in the array is given in the third argument Count passed to the function. global initArray text initArray: //Please remember which registers contain the arguments passed //Pay attention to whether a value or a reference (pointer) is passed //Continue your solution

Explanation / Answer

Hi

ARM assembly language module

An ARM assembly language module has several constituent parts.

These are: