Implement unsigned 8-bit multiplication and division algorithms in MIPS assembly language. You need to follow the multiply and divide algorithms as given in the textbook or the slides. You must NOT use any MIPS multiplication or division instructions.
?
The output of the program must include product, quotient and remainder. Also, your program must check for "0" as an input and must give error message for divide-by-zero operation.
?
Also, ask the user if he wants to enter another set of inputs.
?Example:
?Enter an integer (a): 14
?Enter another integer (b): 3
?Product: 42
?Quotient (a/b): 4
?Remainder (a/b): 2
?Quotient (b/a): 0
?Remainder (b/a): 3
?
Divide-by-zero Example:
?Enter an integer: 14
?Enter another integer: 0
?Product: 0
?Quotient (a/b): Sorry, divide-by-zero not allowed
?Quotient (b/a): 0
Remainder (b/a): 0