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.

Problem: Create a MIPS asm program that requests for three numbers from

OUTPUT :

the user. Month, Day, and Year. You may assume that a valid

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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!