Create a mips asm program that requests for three numbers


Assignment

Create a MIPS asm program that requests for three numbers from the user. Month, Day, and Year. You may assume that a valid date is given.

Your program will return the DAY number of the year. Your program should accurately calculate leap years.

Your program function should accept the month (1 through 12), day, and year as unsigned integers.

As an example, January 1, 1994 is day 1. December 31, 1993 is day 365. December 31, 1996 is day 366 since 1996 is a leap year. A year is a leap year if it's divisible by four, except that any year divisible by 100 is a leap year only if it's also divisible by 400.

You should use the modulus function you wrote in lab 5 for this assignment.

Request for Solution File

Ask an Expert for Answer!!
Computer Engineering: Create a mips asm program that requests for three numbers
Reference No:- TGS02654302

Expected delivery within 24 Hours