> This program gets it wrong. When the last byte of a long is set after the long was > set to 1, we have a big endian architecture (the "little" end is at the 4th byte, > so the "big end" is at the 1st byte). > The x86 architecture _is_ little endian. > What? on x86 long a =1 in memory is a 01 00 00 00 Lesser significant byte is first and most significant is last To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message
- Byte order? Alex Koshterek
- Re: Byte order? Thomas Moestl
- Re: Byte order? Alex Koshterek
- Re: Byte order? Peter Pentchev
- Re: Byte order? Alex Koshterek
- Re: Byte order? Kim Deokhwan
- Re: Byte order? Brian D. Moffet
- Re: Byte order? Soren Schmidt
- Re: Byte order? Richard Hodges