MCQ IN COMPUTER SCIENCE & ENGINEERING

COMPUTER SCIENCE AND ENGINEERING

COMPUTER ARCHITECTURE

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
In ARM LPC2148, in which sequence of bytes are stored in computer memory address
A
Big Endian
B
X-Little Endian
C
Little Endian
D
Both Little & Big Endian
Explanation: 

Detailed explanation-1: -Little-endian is the default memory format for ARM processors.

Detailed explanation-2: -There are two basic ways of viewing bytes in memory-little-endian and big-endian. On big-endian machines, the most significant byte of an object in memory is stored at the least significant (closest to zero) address. On little-endian machines, the most significant byte is stored at the highest address.

Detailed explanation-3: -Specifically, little-endian is when the least significant bytes are stored before the more significant bytes, and big-endian is when the most significant bytes are stored before the less significant bytes. When we write a number (in hex), i.e. 0x12345678, we write it with the most significant byte first (the 12 part).

Detailed explanation-4: -In the Little-Endian storage order, the “little", least significant, byte 0x11 is stored “first", at the lowest memory location 101. The 0x11 displays to the left of the other bytes, which follow in ascending left-to-right memory address order: 102, 103, 104.

There is 1 question to complete.