WILL PROVIDE FILES- C files and Makefile provided of each function – required to

WILL PROVIDE FILES- C files and Makefile provided of each function – required to make 3 separate arm assembly code files from given C file “functionName_c.c”max3 – (name file “max3_s.s”) Given three signed integer parameters, find the largest by comparing the first two, and then comparing the larger of those with the third. That is, max3 must be implemented using two calls to max2.$ ./max3 2 4 6C: 6Asm: 6find_max_index- (name file “find_max_index _s.s”)Given an array of integers, return the index of the largest integer in the array$ ./find_max_index 5 4 3 2 1C: 0Asm: 0$./find_max_index 1 2 3 4 5C: 4Asm: 4sort- name file “sort _s.s” Given the address of an array of unsigned integers, and the length of the array, sort the input array descending (largest to smallest) in place given the C implementation of the sorting algorithm. MUST USE FIND_MAX_INDEX in sort implementation $ ./sort 10 30 20C: 30 20 10Asm: 30 20 10 max3
Requirements: complete   |   .doc file | Assembly Language

Leave a comment

Your email address will not be published. Required fields are marked *