Question: Programming assignment in MIPS For this assignment we will be just doing a simple numbering exercise. Since the ordering of our bit positions and their
For this assignment we will be just doing a simple numbering exercise. Since the ordering of our bit positions and their values will become very important as we move forward, we are going to simply print out their positions and under each position the values that it would be associated with. We also want to be sure that we can keep in the habit of remembering that the least significant values are on the right and the most significant values are on the left. As such, we will print out the first 16 bits and their values from most significant to least significant Requirements Make sure that your bits are ordered in the correct direction when printing them. Make sure that you are solving the problem programmatically rather than just hard-coding numbers in. Also make sure that your output is formatted in a readable manner so that you can tell which value belongs at each position Hints: The ASCII Table will help a lot with formatting. Be sure to use the decimal value if printing a character Feel free to look back at the printing example that is on Moodle Submission Save your work as p01YourLastName and upload only that file to Moodle before the due date and time. You may leave your work as a draft as that will allow you to change the file you uploaded should you notice a problem or upload the wrong file. However, keep in mind, I will only see the time of the final file upload so please check your file as soon as you upload it Sample Output: 15 32768 16384 81924096 2048 1024 512 256 128 64 -program is finished running 14 13 12 10 32 16
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
