Kansellert

MIPS simulator

Use the MARS simulator to write and test a MIPS assembly language program that extends your [url removed, login to view] 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.

Ferdigheter: Programming

Se mer: a b, pipeline simulator mips

Om arbeidsgiveren:
( 1 omtale ) Aberdeen, United States

Prosjekt-ID: #12020657

1 frilanser byr i snitt $250 på denne jobben

$250 USD på 1 dag
(0 omtaler)
0.0