in CO and Architecture edited by
508 views
4 votes
4 votes

Which of the following is/are correct?

  1. Little-endian versus big-endian comes into play when the memory is word-addressable and an integer sits completely in one byte.
  2. Little-endian versus big-endian comes into play when the memory is byte-addressable and an integer spans multiple bytes.
  3. The issue of which "endian" type(big or little) the computer uses becomes critical when the memory assigns a separate address to each byte.
  4. The issue of which "endian" type(big or little) the computer uses becomes critical when the memory assigns a separate address to each word.
in CO and Architecture edited by
508 views

1 Answer

5 votes
5 votes

Byte addresses can be assigned across words in two ways :

Big-endian and little-endian.

Big Endian: the most significant byte has the lowest address, and the least significant byte has the highest address $(1-2-3-4).$

Little Endian: the least significant byte has the lowest address, and the most significant byte has the highest address $(4-3-2-1).$
 

 

edited by

4 Comments

@Pranavpurkar Please mention a standard resource which restricts the use of word size of less than a byte. Although, you can say it’s common to use word size as multiples of 8.

Addition to that for this question, Option D denies the case when Word Size is of 1 Bytes, and an Integer of 2 Bytes. Endianness will play role there. right?

0
0
0
0

@GO Classes, please explain the meaning of option c and d?

 

0
0