Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Homework 1: MIPS Basics Objective: Practice MIPS load/store, integer expressions, and SYSCALL:s. Create a MIPS program that fulfills the following specifications: in the .data section:

image text in transcribed

image text in transcribed

image text in transcribed

Homework 1: MIPS Basics Objective: Practice MIPS load/store, integer expressions, and SYSCALL:s. Create a MIPS program that fulfills the following specifications: in the .data section: o 3 variables to hold input values: a, b, o o 3 variables to hold output values o a variable to hold the user's name o 3 variables for messages: prompt for name prompt for integers message for results (similar to the sample run below) - * * in the .text section write instructions to: o prompt the user for their name and save it o 3 times: prompt user for an integer between 1-100 read and store the integers in a, b, and c - - o calculate ans1 a+b c and store the result o calculate ans2 ctb- a and store the result o calculate ans3 (a2)(b -5) (c-1) and store the result o display the user name and message for results o display the 3 results but print a space character in between for readability at the bottom of your program, add comments with test values for a, b, c and the results you expect from the program for ans1, ans2, ans3 (see sample run below) . What to turn in: after you test your program, upload the.asm file to eLearning Grading Rubric: Points 10 Element Data section set up: data values and results stored Get name from user Get 3 integers from user 15

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Logistics Lifeline Supply Chain Strategies

Authors: Ehsan Sheroy

1st Edition

7419377502, 978-7419377503

More Books

Students also viewed these Databases questions