Question: Problem: Create a MIPS asm program that requests for three numbers from the user. Month, Day, and Year. You may assume that a valid date
Problem: 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.

OUTPUT :

IT HAS TO BE ASSEMBLY MIPS , NOT ANYTHING DIFFERENT THAN THAT
Problem: 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. Notes: Comment your code Assignments should be submitted via Blackboard by due date and time o Include only the asm file Assignment must be printed and handed in See second page for expected output
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
