Question: get two integer in puts from user the create a do_Add functions that adds without the use of the add or addu instruction please add
get two integer in puts from user the create a do_Add functions that adds without the use of the add or addu instruction please add comments code must be done in mips 32 thank you4
and also read the output of the addition to the user thank you code must be done in mips 32 bit
The add function takes as argument two integers in registers and does the following: 1. Add the two integers without using the 'add*' or 'sub*' MIPS instruction. In particular, use the 'or', 'and', 'xor', 'sll', and 'srl' instructions. 2. Return the result in a register. If there is an arithmetic overflow, return an error condition identifying that an overflow occurred in another register
code must be done in mips 32 thank you
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
