Question: Write an MIPS assembly program that does a simple integer subtraction operation and outputs in the console something similar to: Here is a simple math

Write an MIPS assembly program that does a simple integer subtraction operation and outputs in the console something similar to:
Here is a simple math calculation:
36-2=34
You are free to choose what integers to use. Both operands of subtraction (in the example: 36 and 2) should be data already initialized by you. The result of the subtraction (in the example: 34) needs to be calculated by the program.
The program needs to exit in the end.

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 Programming Questions!