Terminé

MIPS assembly Programm

Computer Science 605.204

Lab Assignment 3

Write a main program for the MIPS machine that uses syscall to repeatedly prompt the user to input a decimal integer value from the keyboard that specifies a day of the year.

The program should reject the day number if it is outside the range 1 to 365, that is, leap years are ignored. For each valid day number that is entered, the program should display the name of the corresponding month and the day of the month. For example, if the day number entered is 1, the corresponding month and day would be January 1. A day number of 364 would correspond to December 30. The diagram below shows a sample execution of the program:

Make sure that you include a comment block at the head of the source file that specifies your name and explains the purpose of the program. Also comment the code to make it easier to read and follow the program logic. After you have written and tested your program using the SPIM simulator, submit a text-only version of the source code through the assignments are within the course web site. Use yourname3.s (note the .s extension) as the filename for the attachment.

Compétences : Programmation C

en voir plus : mips display number keyboard, written assignments, web programming course, web assembly, the science of programming, the month of january, science logic, Programming Logic, programming keyboard, programming head, programming diagram, programming and computer science, month of january, machine programming, january is the month of, january is month, for the month of january, computer science code, computer science and programming, computer programming course

Concernant l'employeur :
( 5 commentaires ) Bowie, United States

Nº du projet : #810299

Décerné à:

XuTPbIu

Hello. Please,view your PM.

%selectedBids___i_sum_sub_7% %project_currencyDetails_sign_sub_8% USD en 0 jours
(4 Commentaires)
3.1