How an Accident of Hardware Design Encouraged Open Source (O'ReillyNet)
Posted Mar 1, 2007 16:47 UTC (Thu) by
brouhaha (guest, #1698)
In reply to:
How an Accident of Hardware Design Encouraged Open Source (O'ReillyNet) by jzbiciak
Parent article:
How an Accident of Hardware Design Encouraged Open Source (O'ReillyNet)
The 6800, 6809, and other 8-bit Motorola microprocessors were big-endian. As you say, the 6502 is little-endian.
The 68000 was interesting in that it was mostly big-endian, but the bit ordering used by the bit instructions was little-endian. When they added bitfield instructions to the 68020, with bitfields that could span words, they had to adopt big-endian bit numbering for those instructions to make it work well.
IBM, on the other hand, uses consistenly big-endian numbering for both bits and bytes. I've always thought it aggravating to deal with bytes and words that have bit zero as the most significant bit, but at least it is consistent.
(
Log in to post comments)