Date: Mon, 20 Nov 2000 17:47:47 +0200 From: Alex Koshterek <havoc@lookanswer.com> To: Thomas Moestl <tmoestl@gmx.net>, freebsd-hackers@FreeBSD.ORG Subject: Re: Byte order? Message-ID: <00112017513301.47740@pro.lookanswer.com> In-Reply-To: <20001120164006.A1624@crow.dom2ip.de> References: <00112017175200.47740@pro.lookanswer.com> <20001120164006.A1624@crow.dom2ip.de>
next in thread | previous in thread | raw e-mail | index | archive | help
> 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 majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?00112017513301.47740>