Answered step by step
Verified Expert Solution
Question
1 Approved Answer
2. (10 pts) The following table shows a portion of the memory of a computer. All numbers in the table are in hexadecimal. Contents 12
2. (10 pts) The following table shows a portion of the memory of a computer. All numbers in the table are in hexadecimal. Contents 12 23 34 (a) What is the result of the following instructions if the computer is a little endian machine? Assume X0=0x52000040 at the beginning. FF ADDI X2, X31, #16 LSR X3, X2, #2 ADD XO, X3, X31 LDURX5, [X0, #4] i.e., X5 = Address 0x52000040 0x52000041 Ox52000042 0x52000043 Ox52000044 0x52000045 Ox52000046 Ox52000047 Ox52000048 Ox52000049 0x5200004A 0x5200004B Ox5200004C 0x5200004D Ox5200004E 0x5200004F 0x52000050 0x52000051 0x52000052 0x52000053 56 67 78 89 DD CC AA C9 38 40 40 AE 33 FF 01 (b) Show on the left memory map the result of the following instructions assuming big endian computer, where $X20=0x52000050 and X1 = 0x12345678FFE5AB70. In order words, the contents of which memory locations will be changed to what values after the following two instructions are executed. SUBI X2, X2, #8 STUR X1. [X2 #-4] FE
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started