retagged by
2,922 views
2 votes
2 votes

I understand what is little endian and big endian. Suppose $\text{90AB12CD}_{16}$, this is the integer that is supposed to be stored in the memory. Then in big endian, we store like this. The most significant byte at the lower address.

.
But I don't understand how they are assigning byte in the below picture. What I think, for an integer byte is assigned as 0, 1, 2, 3. (four bytes of integer). Which is quite strange for me, because most of the time we think, the first byte is from the rightmost side.

Please, someone, confirm.

retagged by

Please log in or register to answer this question.

Related questions

8 votes
8 votes
4 answers
2
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...
11 votes
11 votes
5 answers
3
2 votes
2 votes
3 answers
4