**MIPS Arithmetic; Exceptions and Exception
Handlers
The Program Spec:
Write a program to compute the value of the sum 1*2
+ 2*3 + … + 20*21. Use the designated register to fetch
the 32-bit product result. Print the final result.
Here are some tips and REQUIREMENTS:
1. The first thing your program needs to do is to print out your
family (last name) and your student ID. Create strings and
use the print_string syscall to display this information to the
MARS Run I/O window.
2. Use $t1 to hold the result sum.
3. Print the result to the Run I/O window.
**MIPS Arithmetic; Exceptions and Exception Handlers The Program Spec: Write a program to compute the value of the sum 1
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am