write assembly x86-64 language function to take an array of integers and find out average. her is the main.c file please write a aver.asm function to link this tow file #include int average(int* arr,...


write assembly x86-64 language function to take an array of integers and find out average.


her is the main.c file please write a aver.asm function to link this tow file


#include


int average(int* arr, int size);


int main(int argc, char** args) {


int nums[10] = {12, 45, 23, 14, 15, 17, 36, 38, 33, 23 };


int ans = average(nums, 10);


printf(" average is : %d\n", ans);


return 0;


}



Jun 10, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here