Search code examples
assemblyx86-64endiannessmachine-code

Is x86-64 machine language big endian?


0x0000000000400507 <main+28>:    74 0c  je     0x400515 <main+42>
0x0000000000400509 <main+30>:    bf 28 06 40 00 mov    $0x400628,%edi

..

0x400507 <main+28>: 0x28bf0c74

I think shows the machine code is big-endian. Is my conclusion right?


Solution

  • No, Intel CPUs are little endian: http://en.wikipedia.org/wiki/Endianness