retagged by
4,736 views
11 votes
11 votes

In the Big-Endian system, the computer stores

  1. MSB of data in the lowest memory address of data unit
  2. LSB of data in the lowest memory address of data unit
  3. MSB of data in the highest memory address of data unit
  4. LSB of data in the highest memory address of data unit
retagged by

5 Answers

Best answer
1 votes
1 votes

Answer: A,D.

Endianness: To store a multi-byte value in memory, which byte is stored first (at a lower address)?

Little Endian: least significant byte first • low order byte at low address, high order byte at high address • used by x86 

Big Endian: most significant byte first • high order byte at low address, low order byte at high address • used by networks

Source: https://cs.wellesley.edu/~cs240/s16/slides/memory.pdf (Slide 7) 

selected by
9 votes
9 votes
In Big-Endian system A)MSB of data in the lowest memory address of data unit. i.e. if we write an integer of 4 bytes say 127 = 0x0000007f, it will be written to memory as 00 00 00 7f, where each consecutive 2 characters represent a byte. In little-endian, the memory content would be 7f 00 00 00. (Now you should know how to identify if a system is little-endian or big-endian).
8 votes
8 votes

Big-endian and little-endian are terms that describe the order in which a sequence of bytes are stored in computer memory. Big-endian is an order in which the "big end" (most significant value in the sequence) is stored first (at the lowest storage address). Little-endian is an order in which the "little end" (least significant value in the sequence) is stored first. For example, in a big-endian computer, the two bytes required for the  hexadecimal number 4F52 would be stored as 4F52 in storage (if 4F is stored at storage address 1000, for example, 52 will be at address 1001). In a little-endian system, it would be stored as 524F (52 at address 1000, 4F at 1001).

6 votes
6 votes

Big Endian

Little Endian

0x01234567 is saved as

   01  23   45  67

  67   45  23  01

Lowest Numeric address stores

MSB

LSB

Starting address of data item

Same in both

Same in both

Features

String comparison.

Ordering of integers and strings.

Human readable

has to perform addition when it converts a 32-bit integer address to a 16-bit integer address, to use the least significant bytes

Higher-precision arithmetic.

Always reads as the same value if reading in the size larger than or equal to the value.

Intel

ARM, PowerPC (by Motorola) and SPARK (by Sun);

Current versions are bi endian

Both A and D are correct

Answer:

Related questions

8 votes
8 votes
4 answers
1
Satbir asked Jan 13, 2020
3,731 views
An array of $2$ two byte integers is stored in big endian machine in byte addresses as shown below. What will be its storage pattern in little endian machine ?$$\begin{ar...
7 votes
7 votes
1 answer
3
go_editor asked Jun 10, 2016
4,974 views
$0.75$ decimal system is equivalent to ____ in octal system$0.60$$0.52$ $0.54$$0.50$
8 votes
8 votes
2 answers
4
go_editor asked Jun 10, 2016
3,099 views
Consider a small $2$-way set-associative cache memory, consisting of four blocks. For choosing the block to be replaced, use the least recently (LRU) scheme. The number o...