Questions tagged [endianness]

Questions about the order of bytes in a larger word in memory.

Filter by
Sorted by
Tagged with
22 votes
3 answers
3k views

Did any processor have opposite endianness for instructions and data?

The question "Which endian was the Intel 4004?" generated some discussion about the distinction between the endianness of instructions versus data. In the case of the 4004, the code space ...
DrSheldon's user avatar
  • 15.8k
12 votes
1 answer
1k views

Which endian was the Intel 4004?

The Intel 4004 had 4-bit buses and data words, but the program counter and code address space was 12 bits. Was the 4004 little endian (like all of Intel's later microprocessors and microcontrollers) ...
DrSheldon's user avatar
  • 15.8k
5 votes
3 answers
325 views

Did 68000 on S-100 have any problem with being big endian?

The S-100 bus was extremely versatile; originally designed for the 8080, computers using it had no trouble with the Z80 as a drop-in upgrade, and it even went to 16-bit with the 8086. To my surprise, ...
rwallace's user avatar
  • 58.3k
11 votes
3 answers
3k views

Swapping endian-ness on the 68000

In the 80s, the two great 16/32-bit desktop CPU architectures were the x86, used in the IBM PC and compatibles, and the 68000, used in the Amiga, Atari ST, Macintosh, early UNIX workstations and ...
rwallace's user avatar
  • 58.3k
15 votes
3 answers
3k views

Replacing 80286 with 68000

Suppose you wanted to take a 286 PC and replace the CPU with a 68000, not at the initial design stage, but actually modifying the finished machine, on the theory that they both have 24 bits of address ...
rwallace's user avatar
  • 58.3k
16 votes
3 answers
2k views

When was network byte order decided?

TCP/IP has some binary header fields which are affected by byte order, so defines 'network byte order' to settle the issue, specifically defines it as big-endian. When was this decided? The earliest ...
rwallace's user avatar
  • 58.3k