i need some help with his
keep in mind i am buidling it on visual studios and having QtSpim read from it*
i need help translating this to MIPS a language
keep in mind i build it in visual studios and then QtSpim grabs it and runs the code
1. Translate the following C code into a corresponding MIPS assembly code. Add as much comments as you can for readability. 2. Refer Ch. 2 and Appendix A in the textbook 3. Type () homework number and (c) your name at the top in your source code. : Homework #3, James Bond 4. Send your source code and snapshot of result(s) to the grader by email, Sevgi Arca (sevgi.arca@ttu.edu), before Midnight, Feb 28th, 2020 (Friday). The grader will build and run the code and check its result(s) for grading. No hardcopy is required. Source code The source code should include a function call. The file name of source code should consist of homework number and your last name, e.g. hw 3-bond. asm Snapshot of result(s) (e.g.-screen capture/copy) C code Tinclude
int a[13] = 15, 2, 15, 3, 7, 15, 8, 9, 5, 2, 15, 3, 7); int main(void) int 1, 3, count = 0; int num = 13; int largest 0; for (i 0; i 0) return 2: else if (subla, b) -- 0) return 1 return 0; sub (int a, int b) C code #include int a[13] = {5, 2, 15, 3, 7, 15, 8, 9, 5, 2, 15, 3, 7); int main(void) int i, j, count = 0; int num = 13; int largest - 0 for (i = 0; i 0) 1 return 2; else if (sub (a, b) == 0){ return 1; else { return 0; int sub (int a, int b) { return (a - b); 1. Translate the following C code into a corresponding MIPS assembly code. Add as much comments as you can for readability. 2. Refer Ch. 2 and Appendix A in the textbook 3. Type () homework number and (c) your name at the top in your source code. : Homework #3, James Bond 4. Send your source code and snapshot of result(s) to the grader by email, Sevgi Arca (sevgi.arca@ttu.edu), before Midnight, Feb 28th, 2020 (Friday). The grader will build and run the code and check its result(s) for grading. No hardcopy is required. Source code The source code should include a function call. The file name of source code should consist of homework number and your last name, e.g. hw 3-bond. asm Snapshot of result(s) (e.g.-screen capture/copy) C code Tinclude int a[13] = 15, 2, 15, 3, 7, 15, 8, 9, 5, 2, 15, 3, 7); int main(void) int 1, 3, count = 0; int num = 13; int largest 0; for (i 0; i 0) return 2: else if (subla, b) -- 0) return 1 return 0; sub (int a, int b) C code #include int a[13] = {5, 2, 15, 3, 7, 15, 8, 9, 5, 2, 15, 3, 7); int main(void) int i, j, count = 0; int num = 13; int largest - 0 for (i = 0; i 0) 1 return 2; else if (sub (a, b) == 0){ return 1; else { return 0; int sub (int a, int b) { return (a - b)