April 2023
Intermediate to advanced
750 pages
33h 54m
English
1. 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.
2. Show how the following values would be stored by byte-addressable machines with 32-bit words, using little endian and then big endian format. Assume that each value starts at address
. Draw a diagram of memory for each, placing the appropriate values in the ...
Read now
Unlock full access