Mips assembly MARS
Rewrite the program to use a procedure for the conversion. In other words, if you send ���apple��� to the procedure it will return ���APPLE���. Leave the rest of the code in
main. Test it on the source strings: ���loop2:��� and ���Elephant!��� In other words, code in your main program calls the procedure twice, once for each source string. You
should print a memory screen shot after the program runs, showing that both strings were converted ��� check the ASCII box.
You should add code to check if each byte is in fact a lowercase letter, and only convert if it is; otherwise it should just copy it.
In the program you could use $tn registers but in this program you should follow the conventions for using $sn and $tn registers.
Also, use the directive .space for the upper case strings, reserving at least 10 bytes for each of the 2 upper strings.
Table 2: Rubric for problem 2
Code and screen shot
Memory screen shots for 2 inputs
Correct procedure usage
Code checks a-z range
Correct use of $tn and $sn
Main code calls procedure twice
Code comments, formatting
1. Single-step through your program through the first subroutine call and back, then answer the following questions. Copy a-g below and paste your answers/screen
a. What is the value of PC before you execute the jal
b. What is the value of $ra before you execute the jal
c. Set a breakpoint to the jr instruction and run until then. What is the value of PC before the jr
d. Single step back to the main program. What address is in the next instruction
e. What value is in the PC
f. Write a 2-3 sentence summary describing how the PC and $ra registers change when a subroutine is called and when we return from a subroutine.
Table 3: Rubric for problem 3
Our Service Charter
Excellent Quality / 100% Plagiarism-FreeWe employ a number of measures to ensure top quality essays. The papers go through a system of quality control prior to delivery. We run plagiarism checks on each paper to ensure that they will be 100% plagiarism-free. So, only clean copies hit customers’ emails. We also never resell the papers completed by our writers. So, once it is checked using a plagiarism checker, the paper will be unique. Speaking of the academic writing standards, we will stick to the assignment brief given by the customer and assign the perfect writer. By saying “the perfect writer” we mean the one having an academic degree in the customer’s study field and positive feedback from other customers.
Free RevisionsWe keep the quality bar of all papers high. But in case you need some extra brilliance to the paper, here’s what to do. First of all, you can choose a top writer. It means that we will assign an expert with a degree in your subject. And secondly, you can rely on our editing services. Our editors will revise your papers, checking whether or not they comply with high standards of academic writing. In addition, editing entails adjusting content if it’s off the topic, adding more sources, refining the language style, and making sure the referencing style is followed.
Confidentiality / 100% No DisclosureWe make sure that clients’ personal data remains confidential and is not exploited for any purposes beyond those related to our services. We only ask you to provide us with the information that is required to produce the paper according to your writing needs. Please note that the payment info is protected as well. Feel free to refer to the support team for more information about our payment methods. The fact that you used our service is kept secret due to the advanced security standards. So, you can be sure that no one will find out that you got a paper from our writing service.
Money Back GuaranteeIf the writer doesn’t address all the questions on your assignment brief or the delivered paper appears to be off the topic, you can ask for a refund. Or, if it is applicable, you can opt in for free revision within 14-30 days, depending on your paper’s length. The revision or refund request should be sent within 14 days after delivery. The customer gets 100% money-back in case they haven't downloaded the paper. All approved refunds will be returned to the customer’s credit card or Bonus Balance in a form of store credit. Take a note that we will send an extra compensation if the customers goes with a store credit.
24/7 Customer SupportWe have a support team working 24/7 ready to give your issue concerning the order their immediate attention. If you have any questions about the ordering process, communication with the writer, payment options, feel free to join live chat. Be sure to get a fast response. They can also give you the exact price quote, taking into account the timing, desired academic level of the paper, and the number of pages.