Question: Write a MIPS program using MARS platform that takes numbers from input by user : for example, user inputs 1 then program determines it is

 Write a MIPS program using MARS platform that takes numbers from

Write a MIPS program using MARS platform that takes numbers from input by user : for example, user inputs 1 then program determines it is a positive integer. Next, you run the program and enter - 2 and program determines it is a negative number. then enter 5 and again report negative number. So, your program accepts integer inputs and reports the number is positive or negative. NOTE: you must show your source code(assembly code) copied into a WORD file as well as output of MARS that reports positive or negative number. You can take a snapshot of the MARS output and paste it into the WORD file along with the source code

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!