Endianness (was: Backslash replaced by YEN sign)



Kevin Wayne Williams <kww.nihongo@xxxxxxxxxxx> writes:

I've never figured out why some people are so fond of big-endian. It
always makes my head hurt when I have to deal with things getting
twisted around in memory to accommodate it.

Big-endian is the one that you want. It's little-endian that twists
bytes around in memory (by putting the least-significant byte — the
"little end" — first).

<URL:http://en.wikipedia.org/wiki/Endianness>

So, it seems that your opinion agrees precisely with that of the
author: that it's little-endian that makes no sense.

--
\ "When I was a kid I used to pray every night for a new bicycle. |
`\ Then I realised that the Lord doesn't work that way so I stole |
_o__) one and asked Him to forgive me." -- Emo Philips |
Ben Finney
.



Relevant Pages

  • Re: program logic based on endianness
    ... Endianness is a mapping between the registers and the memory. ... If it's really specified for an integer, the byte order used to store ... If you need to store big-endian integers, ...
    (comp.unix.programmer)
  • Re: equivalence with dummy arguments
    ... > It does, however, work nicely for VAX F and D floating-point values. ... > big-endian in putting the components together into a complete fp value. ... been originally developed on RSX-11M and saving memory was a 'good' ... can rely on the collating sequence of COMMON or PSECT names, ...
    (comp.lang.fortran)
  • Re: Endianness
    ... twisted around in memory to accommodate it. ... Many years of assembly level programming on IBM-360s, 8086 based embedded systems and PDP-11s convinced me that DEC and Intel had it right, and IBM needed to simply be kicked to the curb. ... I always believed that the term came from the big Indian and the little indian. ...
    (sci.lang.japan)
  • Re: SATA Help
    ... Generally, all SATA devices are interoperable, to the lowest standard of any one of the two communicating devices. ... I want to buy a MB, that would accommodate both my 667 memory and my AMD Sempron chip, but most of those I see on sale accommodate either 1066 or 800 memory. ...
    (misc.news.internet.discuss)
  • Re: Endianness (was: Backslash replaced by YEN sign)
    ... twisted around in memory to accommodate it. ... little-endian machine you can use any size register and the result is the same. ... On a big-endian machine you read from the same address using a different size register and your "10" would seem to become "2560" or perhaps "167772160." ...
    (sci.lang.japan)