PROGRAMMING WITH MARS IDE DECISIONS AND LOOPS
The purpose of this lab is to introduce you to the layout and structure of the Mars
IDE development tool, as well as decision and loop statements. In this lab, the
MIPS assembly language is used.
Answer the following question in addition to the LAB.
The MIPS assembly instructions that can be used are determined by what number
formats are present. For this assignment, you’ll need to know how to perform an
arithmetic operation given different representations of the same number.
What is 5ED4 – 07A4? Assume these numbers are represented as unsigned 16-bit
hexadecimal numbers. Show your work.
What is 5ED4 – 07A4? Assume these numbers are represented as signed (two’s
complement format) 16-bit hexadecimal numbers. PROGRAMMING WITH MARSIDE
DECISIONS AND LOOPS
The purpose of this lab is to introduce you to the layout and structure of
the MarsIDE development tool in addition to Decision and Loop statements. In this
lab, the MIPS Assembly language is used.
I. Follow the same procedure in Lab1.
II. From the main menu, choose “File”? “New”
III. You will find a blank file. Start typing the following program.
IV. Click on the icon “Assemble the current file”
V. Run the programby “Run one step at a time” as shown below
• Observethe registers/Memory locations values after each Step Run. Record
these values in Table 1.
You should type or copy and paste the values from the Mars environment to the table
below using Microsoft office.
1- Draw the memory and its contents starting from address 268500992.
2- What does the final value of $s3 represent?
$s3 $s5 $s6 $t0 $t1 m[$s6] m[$s6+4] m[$s6+8]
m[$s6+12] m[$s6+16] m[$s6+20] m[$s6+24] m[$s6+28]
PLACE THIS ORDER OR A SIMILAR ORDER WITH US TODAY AND GET A GOOD DISCOUNT 🙂
Delivering a high-quality product at a reasonable price is not enough anymore.
That’s why we have developed 5 beneficial guarantees that will make your experience with our service enjoyable, easy, and safe.
You have to be 100% sure of the quality of your product to give a money-back guarantee. This describes us perfectly. Make sure that this guarantee is totally transparent.Read more
Each paper is composed from scratch, according to your instructions. It is then checked by our plagiarism-detection software. There is no gap where plagiarism could squeeze in.Read more
Thanks to our free revisions, there is no way for you to be unsatisfied. We will work on your paper until you are completely happy with the result.Read more
Your email is safe, as we store it according to international data protection rules. Your bank details are secure, as we use only reliable payment systems.Read more
By sending us your money, you buy the service we provide. Check out our terms and conditions if you prefer business talks to be laid out in official language.Read more