1. You are given an array that holds a C string. The string forms a sentence. Design an algorithm for reversing the words in the sentence and storing the new sentence back in the array. Implement your algorithm using MIPS assembly code.
2. Design an algorithm for counting the number of 1's in a 32-bit number. Implement your algorithm using MIPS assembly code.