home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / sys / amiga / programm / 17761 < prev    next >
Encoding:
Text File  |  1992-12-23  |  1.1 KB  |  40 lines

  1. Newsgroups: comp.sys.amiga.programmer
  2. Path: sparky!uunet!spool.mu.edu!agate!rsoft!mindlink!a218
  3. From: Charlie_Gibbs@mindlink.bc.ca (Charlie Gibbs)
  4. Subject: Re: What is htonl() ?
  5. Organization: MIND LINK! - British Columbia, Canada
  6. Date: Thu, 24 Dec 1992 00:28:21 GMT
  7. Message-ID: <18850@mindlink.bc.ca>
  8. Sender: news@deep.rsoft.bc.ca (Usenet)
  9. Lines: 29
  10.  
  11. In article <TOO.92Dec23154643@cardhu.cs.hut.fi> too@cardhu.cs.hut.fi
  12. (Tomi Ollila) writes:
  13.  
  14. >that function (Macro) return 32 bit value of its host byte order value in
  15. >network byte order. because 680x0 processor uses network byte order in 16
  16. >and 32 bit values (LITTLE ENDIAN) , that function is implemented as macro
  17. >whis does no conversion:
  18.  
  19.      Errm, isn't the 680x0 normally referred to as big-endian?
  20. Otherwise, the following joke wouldn't work:
  21.  
  22. Q: What do you call this?
  23.  
  24.         8086
  25.         8088
  26.         80186
  27.         80188
  28.         80286
  29.         80386
  30.         80386SX
  31.         80386SL
  32.         80486
  33.         80486SX
  34.  
  35. A: Ten little-endians!
  36.  
  37. Charlie_Gibbs@mindlink.bc.ca
  38. Intel put the "backward" into "backward compatible."
  39.  
  40.