Search code examples
x86abix86-64i386

i386 vs. AMD64 ABI Differences


Where can I find all the differences in data types between the i386 & AMD64 Application Binary Interface(ABI)s ?

I know that the long type is 32-bit in i386 ABI & 64-bit in AMD64. Is this correct?


Solution

  • I suggest you download Dr Agner Fog's optimization manuals. He has a manual specifically about ABIs and their differences.

    For differences in the instruction set between 32-bit mode and 64-bit mode, both Intel and AMD's instruction manuals should cover this in the introductory volume or the volumes after the instruction volumes(2a and 2b for Intel's instruction set reference, or 2 and 3 for AMD.)

    See also other links in the tag wiki.