Question: Lab #1 Cs 401: Computer Architecture and Operating System (Spring 2019) Points: 10 Due: 2/8/2019 Obiective: Given a simple C code, write it's equivalent MIPS

 Lab #1 Cs 401: Computer Architecture and Operating System (Spring 2019)

Lab #1 Cs 401: Computer Architecture and Operating System (Spring 2019) Points: 10 Due: 2/8/2019 Obiective: Given a simple C code, write it's equivalent MIPS code and run on the WeM emulator Tasks: You will be performing the following tasks: Write the equivalent MIPS code for the given C-code as follows: #include int main() 1. int a # 10, b-0; 2: if (a 0) goto L1; else goto exit; L1 a a-b goto L2; exit: return O; Note: a is represented by $s0 and b is represented by $s1. Run your MIPS code on the WeMIPS emulator. 2. mission: Please submit a lab report with the followings

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!