Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

2. (10 pts) The following table shows portion of the memory map of a computer. All numbers in the table are in hexadecimal Address 0x52000040

image text in transcribed

2. (10 pts) The following table shows portion of the memory map of a computer. All numbers in the table are in hexadecimal Address 0x52000040 0x52000041 0x52000042 0x52000043 0x52000044 0x52000045 0x52000046 0x52000047 0x52000048 0x52000049 0x5200004A 0x5200004B 0x5200004C 0x5200004D 0x5200004E 0x5200004F 0x52000050 0x52000051 0x52000052 0x52000053 Contents What is the result of the following instructions if the computer is a (a) little endian machine? Assume Sa0 0x52000040 at the beginning. 23 34 addi St4, SO, 4 sl St4, St4, 2 add Sa0, Sa0, $t4 56 67 78 89 (b) Show on the left memory map the result of the following instructions assuming big endian computer, where Ss2-0x 52000044 C9 38 40 40 AE and Ss1 0x FFESAB70. In order words, the contents of which memory locations will be changed to what values after the following two instructions are executed addi Ss2, Ss2, 8 sw SsI, -4(Ss2) 01 FE 2. (10 pts) The following table shows portion of the memory map of a computer. All numbers in the table are in hexadecimal Address 0x52000040 0x52000041 0x52000042 0x52000043 0x52000044 0x52000045 0x52000046 0x52000047 0x52000048 0x52000049 0x5200004A 0x5200004B 0x5200004C 0x5200004D 0x5200004E 0x5200004F 0x52000050 0x52000051 0x52000052 0x52000053 Contents What is the result of the following instructions if the computer is a (a) little endian machine? Assume Sa0 0x52000040 at the beginning. 23 34 addi St4, SO, 4 sl St4, St4, 2 add Sa0, Sa0, $t4 56 67 78 89 (b) Show on the left memory map the result of the following instructions assuming big endian computer, where Ss2-0x 52000044 C9 38 40 40 AE and Ss1 0x FFESAB70. In order words, the contents of which memory locations will be changed to what values after the following two instructions are executed addi Ss2, Ss2, 8 sw SsI, -4(Ss2) 01 FE

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

101 Database Exercises Text Workbook

Authors: McGraw-Hill

2nd Edition

0028007484, 978-0028007489

More Books

Students also viewed these Databases questions

Question

Define Administration?

Answered: 1 week ago

Question

Which form of proof do you find most persuasive? Why?

Answered: 1 week ago