Consider decimal number 1027. This value is stored as a 16-bit
two's complement number into addresses 124 and 125 on a little
endian machine which has an addressable cell size of one byte. What
values (in hexadecimal) are in each of these addresses:
124:
125:
16 bit representation of 1027 in 16-bit: 00000100 00000011 or in hex: 0x0403 As this is little endian machine, Hence, LEAST significant byte is stored on the first byte. So, At Address 124 => 0x03 So, At Address 125 => 0x04
************************************************** Thanks for your question. We try our best to help you with detailed answers, But in any case, if you need any modification or have a query/issue with respect to above answer, Please ask that in the comment section. We will surely try to address your query ASAP and resolve the issue.
Please consider providing a thumbs up to this question if it helps you. by Doing that, You will help other students, who are facing similar issue.
Get Answers For Free
Most questions answered within 1 hours.