[SOLVED] 代写 MIPS assembly Homework #4

30 $

File Name: 代写_MIPS_assembly_Homework_#4.zip
File Size: 301.44 KB

SKU: 6037172665 Category: Tags: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,

Or Upload Your Assignment Here:


Homework #4
CEN/CSI333: Programming at the HW/SW Interface Prof. Muckell | Spring 2019
Importance of Homework: Homework assignments are designed to provide valuable practice outside of the classroom. Students that take homework’s seriously tend to learn the material and thereby do much better on the exams. Cheating is self-destructive, as in best case scenario you will simply not understand the concepts and do poorly on the exams, and in the worst-case scenario could face university disciplinary action. A lot of the concepts build upon each other, so it is important to seek help if you are struggling understanding certain concepts. This will allow you to be successful not only in this class, but also in future classes that depend on these concepts, and later in your future career. At some point, most students will struggle on some of the homework questions. That’s OK! You should know that help is available. The three primary ways of getting help are coming to office hours (posted on Blackboard), posting a question on the “Ask a Question” forum on Blackboard, or sending the professor or TA an email. Each homework is followed by a lab session that reviews and builds upon concepts covered in the homework. The lowest two homework grades will be dropped at the end of the semester, but it is highly recommended to complete all the homework, since the concepts are important and will be on the exams.
Description: Write a pow(x, y) function in MIPS assembly, such that pow(x,y) computes xy.
To receive full credit, your program should meet all of the following criteria:
• A main function that:
o Promptstheuserforanumberandanexponent o Callspowusingthejalinstruction
o Displayreturnvaluefromthepow(x,y)function
• A pow(x, y) function that:
o Computestheproperresultbasedoninputparameters o Returnsproperlyusingthejrinstruction
• Overall, the program should:
o FollowsMIPSregisterusageconventions
o Containcodethatisorganized,easytoread,andproperlycommented
Some example output is shown below:
Submission Guidelines: Submit your .asm file on Blackboard

Reviews

There are no reviews yet.

Only logged in customers who have purchased this product may leave a review.

Shopping Cart
[SOLVED] 代写 MIPS assembly Homework #4
30 $