Question: 5 . Given two 3 2 - bit byte - addressable memory - aligned machines, M 1 , and M 2 , with M 1

5. Given two 32-bit byte-addressable memory-aligned machines, M1, and M2, with M1 following Big Endian and M2 following Little Endian format, it is found that the data 0x3344aabb (a 32-bit hex number) and 0xccdd5566 are returned from
the memory when the address 0x00030004 and 0x00030008 are given, respectively, for a read-word signed operation from both machines. What will you get from memory if you issue a read for
(a) a halfword with address 0x00030006 for M1 and M2 respectively?
(b) a halfword with address 0x00030009 for M1 and M2 respectively?
(c) a byte with address 0x000030007 for M1 and M2 respectively?
(d) a byte with address 0x00030009 for M1 and M2 respectively?
Note: for each answer, you need to return a 32-bit signed value (in hex) which is of the same signed value as the one read.
Please show all work.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!