Assume you have a byte-addressable machine that uses 32-bit integers and you are storing the hex value

Question:

Assume you have a byte-addressable machine that uses 32-bit integers and you are storing the hex value 1234 at address 0

a) Show how this is stored on a big endian machine.

b) Show how this is stored on a little endian machine. 

c) If you wanted to increase the hex value to 123456, which byte assignment would be more efficient, big or little endian? Explain your answer. 

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  answer-question
Question Posted: