View Single Post
  #1 (permalink)  
Old May 19th, 2009, 10:25 AM
joelding joelding is offline
Registered User
 
Join Date: May 2009
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default byte order in chapter 15

Hello,

Stones & Matthew's book Beginning Linux Programming 4/e, chapter 15, in section of "byte order", it said about Intel processor: 1-2-3-4 with a remark that 1 is the most significant byte. While introducing IBM PowerPC, the book mentioned 4-3-2-1 byte order.

Intel should be little endian. PowerPC should be big endian.

Therefore, in "1-2-3-4", 4 should be the most significant byte. 1 should NOT be the MSB.

The 3/e of this book made the same mistake.

Anybody agrees with me?

Warm regards,
Joel Ding
Reply With Quote