Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Purpose In this assignment you are to use the website that is the home page of the MARS to learn about MARS and download it

Purpose
In this assignment you are to use the website that is the home page of the MARS to learn about MARS and download it. You are also to become familiar with basic MIPS I architecture assembly language instructions, and run one assembly language program.
MARS emulates the MIPS I architecture. It is not a physical device that has all the physical components of the MIPS I. It is an IDE that uses the Java Virtual Machine to emulate how a physical implementation of the MIPS I would behave with a MIPS R2000 CPU.
You must have Java installed on your computer in order to be able to use MARS, because MARS is a Java program that uses the Java Virtual Machine to simulate the physical implementation of the MIPS 32 bit architecture.
Installing Java is outside the scope of instructions for this assignment. Select This Text If You Wish To Go To An External Website And Read Instructions About How To Install Java and Perform The Installation Of JavaLinks to an external site..
Select This Text To Go To An External Website That Has Instructions Of How To Use MARS As An IDE.Links to an external site.
Note: MARS also has a command line interface that is text based and runs in either a Windows Command Prompt (cmd) or in a Macintosh Terminal window. Select This Text To Go To An External Website If You Wish To See How To Use MARS As A Command Line ProgramLinks to an external site..
Tasks
You must perform Tasks #1- #4 given below:
Task #1 Select This Text To Go To The External MARS websiteLinks to an external site.. Read the website to learn about what MARS is and how it works. Once you have done that, look for the section of the website that provides information about how to download and run MARS. You will see there is more than one option to choose for running MARS. Choose the option that works for your particular computer and operating system.
Note: Task #1 is the primary task for this lab. Task #1 must be performed completely before moving on to the other tasks of this lab. It may take some trial and error to get the MARS to work. Task #1 is meant to have you experience downloading a virtual computer architecture environment based and get it to work something often required by assembly language programmers to perform programming.
Task # 2 Select This To Read The Documentation. This documentation is meant for you to get a sense of the types of instructions, directives, registers, and other MIPS I architecture information (This is a PDF file)Download Select This To Read The Documentation. This documentation is meant for you to get a sense of the types of instructions, directives, registers, and other MIPS I architecture information (This is a PDF file)
For any given computer architecture, you should be able to read documentation like this to get a sense of the physical components of the architecture, and how to use assembly language to write programs for the architecture. Though this class focuses on the MIPS I architecture, you should become used to reading documentation like this for any computer architecture that describes the architectures physical components and the architectures assembly language commands.
This is not a complete list of all the commands of the assembly language, but it will give you a feel for some of the most fundamental assembly language commends.
As you are reading about the commands, pay close attention to how the commands use certain operands. Be able to distinguish between operands that are literal values and operands that are registers.
Task # 3 Watch A Tutorial Video Segment About MARS And Using MARS and run an assembly language program
Watch the following tutorial video segment:
Start At 1:37 End At 4:30
Open and use the following program in MARS:
task3MIPSassemblylanguageprogram.sDownload task3MIPSassemblylanguageprogram.s
Select This Text If You Wish To View task3MIPSassemblylanguageprogram.s As A Text File Here In Canvas.Download Select This Text If You Wish To View task3MIPSassemblylanguageprogram.s As A Text File Here In Canvas.
When using the program in MARS, you should save the file as a .s file because .s is the file extension for MIPS Assembly language files.
Write a 1 sentence description explaining what the program outputs when you execute the program in MARS. Save this description in a text file named task3desc.txt.
Task #4-- Submitting Your Task #3 File To Earn Your Grade For This Lab Assignment
Submit the Task #3 file you created named task3desc.txt for this assignment. Submit the file here in Canvas by selecting the Submit Assignment button here in this assignment. Please submit task3desc.txt in text file format only. To receive credit for this lab assignment, you must submit task3desc.txt in text file format.

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_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

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

Get Started

Students also viewed these Databases questions