Question: Program Using this label: a: . word 5 Write a program which uses branching instructions to perform the following high level language if . .
Program
Using this label:
a: word
Write a program which uses branching instructions to perform the following high level language ifelse if else conditional logic:
if the value for the label a is less than
assign the value of to the register $t
else if the value for the label a is equal to
assign the value of to the register $t
else
assign the value of to the register $t
Note that even though the value for the label a is the if else if else conditional logic should be written to check if the value of the label a and well as else if the value of the label a
Use The MIPS Technical Document To See The MIPS Assembly Language instructions Download Use The MIPS Technical Document To See The MIPS Assembly Language instructions. You may wish to download the document and refer to it as you are writing the program.
Write comments in your program that state your name, the programming logic, and any details you feel you'd like to explain that state about how you are using the assembly language instructions.
This program is to be saved in its own file, with a asm or a s file extension. You may only use a asm or s file extension MIPS assembly language programs are named using these files extensions Once your program is working correctly, submit the program file to this assignment to receive a grade for your program.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
