Question: For this project, you will demonstrate your ability to develop a program that uses some of the functions that have been covered in the past

For this project, you will demonstrate your ability to develop a program that uses some of the functions that have been covered in the past few lessons.
Create a program that does the following:
Assume $t0 is 15 and $t3 is 10.
Load a value from memory location 5000 and store it in register $t0.
Use a branch instruction to see if the number is equal to $t3.
Create a subroutine that will run if the number is not equal and have it add 5.
Use the jal and jr instructions to return values to the program.

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!