2. Create the data declaration part of the above by creating a file with MARS and assemble it to show the memory contents. You don't have to have .text part since this is just data declaration only. Capture your screen of MARS execution window by checking "ASCII" option of Data Segment part. (10 points)
Follow the direction for each question. Your submission should be one PDF file which includes the MIPS source programs and the screenshots of your MARS execution windows.
1. Draw a picture illustrating the contents of memory, given the following data declarations:
You need to mark all the memory addresses. Assume that your data segment starts at 0x1000 in memory. (10 points)
Name: .asciiz "Jim Bond!"
Age: .byte 24
Numbers: .word 11, 22, 33
Letter1: .asciiz 'M'
2. Create the data declaration part of the above by creating a file with MARS and assemble it to show the memory contents. You don't have to have .text part since this is just data declaration only. Capture your screen of MARS execution window by checking "ASCII" option of Data Segment part. (10 points)
Trending now
This is a popular solution!
Step by step
Solved in 4 steps with 2 images