I have to write an unsigned 16-bit software implementation of a multiplier and a divider in MIPS assembly code. Two positive integers are read from the console. The program is supposed to multiply and divide the two integers, outputting the product, quotient and remainder.
[b]Here is an example run:[/b]
Enter an integer: 10
Enter an integer: 4
Product is 40
Quotient is 2
Remainder is 2
I can't use any MIPS multiply/divide instructions either.
CAN SOMEONE PLEASE HELP ME WITH THIS? I'M STILL A BEGINNER WITH MIPS ASSEMBLY LANGUAGE AND WOULD APPRECIATE ANY HELP. I know the process involves shifts, but I really need help with this project...please help.