p2p.wrox.com Forums

p2p.wrox.com Forums (http://p2p.wrox.com/index.php)
-   BOOK: Beginning Linux Programming, 4th Edition ISBN 978-0-470-14762-7 (http://p2p.wrox.com/forumdisplay.php?f=375)
-   -   byte order in chapter 15 (http://p2p.wrox.com/showthread.php?t=74472)

joelding May 19th, 2009 10:25 AM

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


All times are GMT -4. The time now is 01:55 AM.

Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.