Question: c) Considering the MIPS memory snippet and register snippet shown in Figure 2. Main Memory Memory Address Memory Contents Register File Register Contents Ox00000013 Ox00000011


c) Considering the MIPS memory snippet and register snippet shown in Figure 2. Main Memory Memory Address Memory Contents Register File Register Contents Ox00000013 Ox00000011 Ox00000009 0x1010F1F1 $8 $9 $10 $11 $12 $13 $14 $15 Ox0004002C Ox00000001 Ox00000006 Ox00040040 Ox0004003C 0x00040038 Ox00040034 Ox00040030 Ox0004002C Ox00040028 Ox00040024 Ox00040020 Ox0004001C Ox00040018 Ox00040014 Ox00040010 Ox0004000C Ox00040008 Ox00040004 0x00040000 Ox0003FFFC 0x00000016 Ox00000015 Ox00000014 Ox00000013 Ox00000012 Ox00000011 Ox00000010 Ox00000009 0x00000008 0x00000007 0x00000006 0x00000005 Ox00000004 0x00000003 Ox00000002 0x00000001 0x00000000 0x1010F1F1 0x00040011 Figure 2: MIPS Memory Snippet Answer the below questions based on the information provided in Figure 2. You may refer to Table 8 in the Appendix to find out the descriptions of the relevant MIPS instructions. i) Complete the instruction below to put the word 0x00000010 into register $10. Answer the below questions based on the information provided in Figure 2. You may refer to Table 8 in the Appendix to find out the descriptions of the relevant MIPS instructions. i) Complete the instruction below to put the word 0x00000010 into register $10. Represent the corresponding offset value in hexadecimal representation. Show your working process. lw $ ($ ) ii) [5 marks) Complete the instruction below to put the word 0x00000006 into memory location 0x00040034. Represent the corresponding offset value in hexadecimal representation. Show your working process. sw $ ($ ) [5 marks)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
