Computer Programming in MARS simulator to test a MIPS assembly language program
$30-250 USD
Cancelado
Publicado hace más de 7 años
$30-250 USD
Pagado a la entrega
Use the MARS simulator to write and test a MIPS assembly language program (named [login to view URL]) that
• Reads three grades from standard input. Before reading the values, include a single prompt of Enter three grades:
• Computes the integer average, and
• Prints the results as follows
The avg = ####
where #### is the average grade.
Use the MARS simulator to write and test a MIPS assembly language program that extends your [login to view URL] program from an earlier assignment as follows:
• Name the new program avggrade.asm.
• Continuously extract grades from standard input until a negative value is entered.
• Compute the integer average for all grades entered (truncated).
• Determine the corresponding letter grade (’A’, ’B’, ’C’, ’D’, ’F’) using the common ranges. • Print the average and corresponding letter grade to the terminal.