68.6k views
2 votes
Given the number 456789abh, list out its byte value in little-endian order

User Dimitar
by
8.2k points

1 Answer

1 vote
The given 32-bit value is 456789ab in hexadecimal notation.
Each byte uses two hex digits.
The 4 bytes contained in the number are
45 67 89 ab.

Little-endian order stores the least significant bytes first in the smallest memory address.
Therefore the storage in little-endian order is
ab
89
67
45

Answer:
The byte values are ab, 89, 67, 45


User BluesRockAddict
by
8.0k points