Write MIPS assembly code that prompts the user for four integers(A, B, C, D), reads them in, stores them in registers. Your codeshould compute the result R = A*B + C*D. Result R should bedisplayed to the user. Your code should implement a subroutinestarting at label “prod” to compute the product of two numbers. Themain function calls this subroutine twice. Your solution shouldconsist of your mips code, submitted as file q1.asm.
Expert Answer
Answer to Write MIPS assembly code that prompts the user for four integers (A, B, C, D), reads them in, stores them in registers. …