Question: ECE 366: Computer Organization- Fall 2018 Project 1: MIPS programming with MARS In this project, you will write a MIPS assembly programs and verify that
ECE 366: Computer Organization- Fall 2018 Project 1: MIPS programming with MARS In this project, you will write a MIPS assembly programs and verify that they run correctly with the simulator MARS. Program I-6AP mod 17 compute the result of "6 to the power of module 17" 64p mod 17 The value of P is given in data memory location 0x2000 The result (R) should be written back in memory at location 0x2004 1. See below for an example: data P: word 8 R: .word -1Rwill be stored here text a Your code goes here 100% grade Your code should work correctly for PPC [1, noted You are not use multiplication or division instructions, so you'll have to use add and subtract for Ang and C%D operations. However, you can do "shifted add" and "shifted subtract" to accelerate these processes. . To find the matching score of any two 32-bit patterns P1 and P2, count the number of 1's in the result of P1 xor P2, and then subtract the number from 32. Page 1 of 2 180 words English (US)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
