איך אוכל לדעת אם המכונה עליה אני מתכנת עובדת בתצורת
big endian/small endian
?הסבר : big endian
כאשר הבית החשוב )msb( יושב בבית הראשון והבית הלא חשוב ( lsb (
יושב בבית שלאחר מכן.
יותר קל להסביר זאת באנגלית :
Some machines store, for example, a two-byte integer with the least significant byte first, followed by the most significant byte. These machines are called little endian machines. Other machines store a two-byte integer with its most significant byte first, followed by it least significant byte. These machines are called big endian machines. Most UNIX machines are big endian. Whereas most PCs are little endian machines.
פתרונות בכל שפה אפשריים.