1) Consider a byte-addressable memory system with the following contents: (7 poi
ID: 3749681 • Letter: 1
Question
1) Consider a byte-addressable memory system with the following contents: (7 points) M(x+1)8x23 M(x+3)0x67 M(x+4)0x89 For questions a-f, provide a single, 32-bit hex number for each of the following questions (don't write in binary please): a) Ione were to perform a 32-bit load into a 32-bit CPU register from memory location M(x+4), what would be (he contents of hal register assuming a little endian CPU? b) Ifone were to perlorm a 32-bit load into a 32-bit CPU register from memory location M(x+4), what would be the contents of that register assuming a big endian CPU? e 1 one were lo perlom n un gne 16 bil load into a 32-bit CTU register lrom memory location M(x+4), what would be lhe contents o thal register assuming a little endian CPU? d) If one were to perlorm an unsigned 16-bit load into a 32-bit CPU register Irom memory location M(x+4), what would be the contents of that register assuming a big endian CPU? e) If one were to perform asigne 1- load into a 32-bit CPU register from memory location M(x+4), what would be the contents of that register assuming a little endian CPU? f) If one were to perform a signed 8-bit load into a 32-bit CPU register from memory location M(x+4), what would be the contents of that register? g) Does the endianness matter if loading or storing 8-bit values on a byte-addressable memory system?Explanation / Answer
a)62
g)yes,as we know that endianess refers to the sequential order .There are two conflicting formats i.e, big endian and little endian.Big endian refers to the most significant bit and little endian refers to the least significant bit.so we can say that endianess matters if loading or storing 8 bit values on a byte addressable memory system.
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.