Programming with mars ide decisions and loops
See Attachments
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. Please show the details of your work and how you arrived at the answers.