Fundamentals of computer science
CSC 2250 Fundamentals of Computer System Lab 3 1. (40 points): One-way branch: Write a MIPS program to prompt and read a positive integer x. if x >15 subtract 15 from x. Finally, print x. Below is a java program that solves the problem. Refer to the Java implementation to write your MIPS program. Java implementation: The sample runs for the java program above: Sample Run1: Sample Run2: (1) Screenshot of your program: [Load your program into QtSPIM and run your program. Take a screenshot showing program code and register values.] (2) Test cases (screenshot of result, showing input/output): 2. (60 points): Two-way Branch Write a SPIM program to read a positive integer and to determine and display whether it is an even number or odd number. Below is the java implementation, refer to java implementation to implement your MIPS program. The sample runs for the java program above: Sample Run1: Sample Run2: (1) Screenshot of your program: [Load your program into QtSPIM and run your program. Take a screenshot showing program code and register values.] (2) Test cases (screenshot of result, showing input/output): Program Grading Rubric Each program is graded using the following rules: (1) Your program is assembled successfully: 30% (2) Your program works as expected: 50 % (3) Your program follows style guidelines, including correct program header: 10 % (4) Your program is commented properly 10%
Collepals.com Plagiarism Free Papers
Are you looking for custom essay writing service or even dissertation writing services? Just request for our write my paper service, and we'll match you with the best essay writer in your subject! With an exceptional team of professional academic experts in a wide range of subjects, we can guarantee you an unrivaled quality of custom-written papers.
Get ZERO PLAGIARISM, HUMAN WRITTEN ESSAYS
Why Hire Collepals.com writers to do your paper?
Quality- We are experienced and have access to ample research materials.
We write plagiarism Free Content
Confidential- We never share or sell your personal information to third parties.
Support-Chat with us today! We are always waiting to answer all your questions.
