c”
find_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 5
C: 4
Asm: 4
sort- 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