Question
Write a program to do the following: Using the li instruction, load 50 in $t3, 72 in $t4, and 39 in $t5. Multiply the contents
Write a program to do the following: Using the li instruction, load 50 in $t3, 72 in $t4, and 39 in $t5. Multiply the contents of $t3 and $t4, putting the result in $t0. Multiply the contents of $t4 and $t5, putting the result in $t1. Subtract the contents of $t1 from $t0, putting the result in $a0. Output the contents of $a0. Output the contents of $t0 and $t1 as well. Note that no data declaration is necessary. Write down the value of $a0 on your answer sheet. Remember to end your program correctly. After you have finished and the program executes correctly, add instructions to put each answer of the three on a different line
REMEMBER ''DO NOT'' WRITE IT DOWN ON A PAPER AND POST IT!, I NEED YOU WRITE IT ON NOTE PAD AND POST IT DIRECTLY ON THE COMMENT BLANK!
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started