If the value of a 32bit register in a bigendian CPU is 0 tim
If the value of a 32-bit register in a big-endian CPU is 0 times adfd4321, show how the 32-bit value is stored to its 32-bit main memory starting at location 440_10 (i.e., the hexadecimal values stored at memory locations 443_10, 442_10, 441_10, and 440_10 respectively). If the value of a 32-bit register in a little-endian CPU is 0 times adfd4321 show how the 32-bit binary value is stored to its 32-bit main memory starting at location 264_10 (i.e., the hexadecimal values stored at memory locations 267_10, 266_10, 265_10, and 264_10 respectively).
Solution
a)Using Big endian
the memories organized as below
443--d--the binary value for this-1101
442--f--the binary value for this-1111
441-d--the binary value for this-1101
440-a--the binary value for this-1010
b)Using Little-endian
440--d--the binary value for this-1101
441--f--the binary value for this-1111
442-d--the binary value for this-1101
443-a--the binary value for this-1010
