Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Input/Output You are required to read two unsigned integers from the console. Th

ID: 3640521 • Letter: I

Question

Input/Output
You are required to read two unsigned integers from the console. The valid range for both values is 0 to 65535. Your program will multiply and divide them and provide the product, quotient, and remainder. Your program must include a trap (i.e. a notification and graceful exit) for divide-by-zero.

You may NOT use any MIPS multiply or divide instructions for this project

I have to write an unsigned 16-bit software implementation of both the multiplier and the divider architectures.


Here’s an example run:
Enter an integer: 10
Enter an integer: 4
Product is 40
Quotient is 2
Remainder is 2

Explanation / Answer

Link - muldivmod.s --> http://bit.ly/GL1wtO