Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Instruction Set Architecture Question: Hello! I am having some difficulty unders

ID: 648240 • Letter: I

Question

Instruction Set Architecture Question:

Hello! I am having some difficulty understanding some of my homework and was hoping that I could not only receive an answer but also an explanation so I could further study and ready myself better for my class.

1.) Show how the following values would be stored by the byte-addressable machines with 32-bit words, using little endian and then big endian format. Assume that each value starts at 10(16). Draw a diagram of memory for each, placing the appropriate values in the correct (and labeled) memory locations.

a) 0x456789A1
b) 0x0000058A
c) 0x14148888

Explanation / Answer

Big-endian most significant value in the sequence is stored first at the lowest storage address.
Little-endian least significant value in the sequence is stored first.

a) Address 10^16 11^16 12^16 13^16
Big Endian 45 67 89 A1
Little Endian A1 89 67 45
b.
Address 10^16 11^16 12^16 13^16
Big Endia 00 00 05 8A
Little Endian 8A 05 00 00
c.
Address 10^16 11^16 12^16 13^16
Big Endian 14 14 88 88
Little Endian 88 88 14 14