[ID 20000817.023] endianness description in perlfunc.pod
authorJonathan D Johnston <jdjohnston2@juno.com>
Thu, 17 Aug 2000 23:13:01 +0000 (19:13 -0400)
committerJarkko Hietaniemi <jhi@iki.fi>
Sat, 19 Aug 2000 15:39:09 +0000 (15:39 +0000)
Message-Id: <20000817.231304.-743351.1.jdjohnston2@juno.com>

p4raw-id: //depot/perl@6715

pod/perlfunc.pod

index fd724a1..5c8f88a 100644 (file)
@@ -3153,8 +3153,8 @@ because they obey the native byteorder and endianness.  For example a
 4-byte integer 0x12345678 (305419896 decimal) be ordered natively
 (arranged in and handled by the CPU registers) into bytes as
 
-       0x12 0x34 0x56 0x78     # little-endian
-       0x78 0x56 0x34 0x12     # big-endian
+       0x12 0x34 0x56 0x78     # big-endian
+       0x78 0x56 0x34 0x12     # little-endian
 
 Basically, the Intel, Alpha, and VAX CPUs are little-endian, while
 everybody else, for example Motorola m68k/88k, PPC, Sparc, HP PA,