Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.
MIPS assembly code multiplier/divider.
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.
0 · ·