home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / arch / 12149 < prev    next >
Encoding:
Internet Message Format  |  1993-01-08  |  1.9 KB

  1. Path: sparky!uunet!mcsun!uknet!pavo.csi.cam.ac.uk!rf
  2. From: rf@cl.cam.ac.uk (Robin Fairbairns)
  3. Newsgroups: comp.arch
  4. Subject: Re: A theory for Big & Little Endian's origin
  5. Message-ID: <1993Jan8.120225.8330@infodev.cam.ac.uk>
  6. Date: 8 Jan 93 12:02:25 GMT
  7. References: <1iig7aINNtc@spim.mti.sgi.com>
  8. Sender: news@infodev.cam.ac.uk (USENET news)
  9. Organization: U of Cambridge Computer Lab, UK
  10. Lines: 31
  11. Nntp-Posting-Host: lelaps.cl.cam.ac.uk
  12.  
  13. In article <1iig7aINNtc@spim.mti.sgi.com>, jackc@vermont.mti.sgi.com (Jack Choquette) writes:
  14. |> [...]
  15. |> So it makes more sense, mathematically at least, to reverse number
  16. |> numbers and zero fill the number that are not there.
  17. |>         digit #        5  4  3  2  1  0
  18. |>         digit value    0  1, 0  5  6  2
  19. |>         digit value    7  1, 0  5  6  2
  20. |> 
  21. |> Now we come to representing numbers in computers.  Being mathematically
  22. |> inclined, computer engineers represent numbers by putting the least
  23. |> significant bit in the lowest numbered (and addressible) spot.  Being
  24. |> human, when they print out the number they print out the most significant
  25. |> bit first:
  26. |>         digit #/address        7  6  5  4  3  2  1  0
  27. |>         digit value (bin)    0  1  0  0  1  1  1  0   =   78 dec
  28.  
  29. What Jack fails to note is that some of the early computers (e.g., the
  30. ACE at the NPL in Teddington) stored rational fractions rather than
  31. integers.
  32.  
  33. Thus it was entirely reasonable (i.e., both from the mathematical and
  34. the engineering point of view) to number the most significant digit
  35. (2**-1 or 10**-1, I don't remember which) as digit 1, the next most as
  36. digit 2, and so on.
  37.  
  38. Jim Haynes has subsequently highlighted Jack's hypothesis for his
  39. argument of left-to-right reading humans.  In view of who was building
  40. the earliest computers, Jack is right to use that hypothesis, imho.
  41. --
  42. Robin (Keep Radio 3 != Classic FM) Fairbairns       rf@cl.cam.ac.uk
  43. U of Cambridge Computer Lab, Pembroke St, Cambridge  CB2 3QG, UK
  44.