Diskuse:Endianita

Obsah stránky není podporován v jiných jazycích.
Přidat téma
Z Wikipedie, otevřené encyklopedie

... middle-endian (nebo někdy mixed-endian) užívají složitější způsob pro určení pořadí jednotlivých bajtů, který je dán kombinací obou výše zmíněných způsobů. Mezi takovéto architektury patří např. rodina procesorů PDP-11. ... na konci dokumentu uvedeneho v odkazech (http://unixpapa.com/incnote/byteorder.html) v sekci Myths, se pise: PDP-11's were "middle-endian". Only sort of. The PDP-11 didn't have instructions to store 32-bit values to memory, so the particular weird "middle-endian" value couldn't possibly apply to the way it stored values in memory. It stored 16-bit values to memory in the usual little endian manner. It could do 32-bit arithmatic, storing the values in pairs of 16-bit CPU registers (not memory). The most signficant word went into the lower numbered register, but within each register values were stored little-endian. So that could be viewed as "middle-endian", but in a sense that could only matter to assembly language programmers and compiler writers, whose code could never hope to be portable anyway. 209.132.186.34 27. 6. 2013, 12:47 (UTC)