Write a set of MIPS code sequences to stress test the MIPS bne instruction (i.e., it should test the range of operand values, any exceptional
Write a set of MIPS code sequences to stress test the MIPS bne instruction (i.e., it should test the range of operand values, any exceptional behavior, and any other edge cases you can think of such as overflow). There should be at least three such test programs. In the comments, justify why you are including each specific test case and why the test has value (e.g., what edge case it covers or what common case it covers). Note that these files will be used to help test your implementations. As such, upload your function in a separate .s file.
Do not use these instructions in the implementation : j, jal, jr, bgez, bgezal, bgtz, blez, bltzal, bltz.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
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