home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.amiga.programmer
- Path: sparky!uunet!spool.mu.edu!agate!rsoft!mindlink!a218
- From: Charlie_Gibbs@mindlink.bc.ca (Charlie Gibbs)
- Subject: Re: What is htonl() ?
- Organization: MIND LINK! - British Columbia, Canada
- Date: Thu, 24 Dec 1992 00:28:21 GMT
- Message-ID: <18850@mindlink.bc.ca>
- Sender: news@deep.rsoft.bc.ca (Usenet)
- Lines: 29
-
- In article <TOO.92Dec23154643@cardhu.cs.hut.fi> too@cardhu.cs.hut.fi
- (Tomi Ollila) writes:
-
- >that function (Macro) return 32 bit value of its host byte order value in
- >network byte order. because 680x0 processor uses network byte order in 16
- >and 32 bit values (LITTLE ENDIAN) , that function is implemented as macro
- >whis does no conversion:
-
- Errm, isn't the 680x0 normally referred to as big-endian?
- Otherwise, the following joke wouldn't work:
-
- Q: What do you call this?
-
- 8086
- 8088
- 80186
- 80188
- 80286
- 80386
- 80386SX
- 80386SL
- 80486
- 80486SX
-
- A: Ten little-endians!
-
- Charlie_Gibbs@mindlink.bc.ca
- Intel put the "backward" into "backward compatible."
-
-