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. (a) What
2. (10 pts) The following table shows a portion of the memory of a computer. All numbers in the table are in hexadecimal. (a) What is the result of the following instructions if the computer is a little endian machine? Assume X0=0x52000040 at the beginning. Contents 122 232 342 FF 56 672 782 ADDI X2, X31, #164 LSR X3, X2, #2 ADD XO, X3, X314 LDUR X5, [X0, #4] 1 892 i.e., X5 = Address 0x520000404 Ox520000414 Ox520000424 0x520000434 0x520000444 0x520000454 Ox52000046 Ox520000474 Ox52000048 Ox52000049 Ox5200004A 0x5200004B 0x520000404 Ox5200004D Ox52000045 0x5200004F4 0x520000504 Ox52000051 Ox520000524 Ox5200005341 1 1 DD cca C9 382 402 402 e 332 FF 01e FE (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] 4 1
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