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

 ECE 366: Computer Organization - Fall 2018 Project 1: MIPS programming

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: word8 R..word -1 # R will be stored here .text # Your code goes here 100% grade Your code should work correctly for PPE [4201 noted allowed to You are not use multiplication or division instructions, so you'll have to use add and subtract for AAB 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. 2 182 Words English (US)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!