In this article we shall understand the memory basics and
endianness of an embedded system. When people say little endian or big endian
then what it means and how to find the endianness of a system.
Endianness tell
about how an number is stored in the memory. The byte order of storage of a
number in the memory which means whether the lower byte is stored in higher
addressed memory or lower addressed memory. So in a way since it talks about
which end of the number goes to which end of the memory, this feature is termed
as endianness.
Before
understanding the endianness we need to understand some pre-requisite terms
which are explained below: