13.07.2015 Views

Volume 3: General-Purpose and System Instructions - Stanford ...

Volume 3: General-Purpose and System Instructions - Stanford ...

Volume 3: General-Purpose and System Instructions - Stanford ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

AMD64 Technology 24594 Rev. 3.10 February 2005One-Byte Opcodes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 377Two-Byte Opcodes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 380rFLAGS Condition Codes for Two-Byte Opcodes . . . . . . . . . 386ModRM Extensions to One-Byte <strong>and</strong> Two-Byte Opcodes. . . 387ModRM Extensions to Opcodes 0F 01 <strong>and</strong> 0F AE . . . . . . . . 3903DNow! Opcodes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 390x87 Encodings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 392rFLAGS Condition Codes for x87 Opcodes . . . . . . . . . . . . . . 402A.3 Oper<strong>and</strong> Encodings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 402ModRM Oper<strong>and</strong> References. . . . . . . . . . . . . . . . . . . . . . . . . 402SIB Oper<strong>and</strong> References. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 408Appendix B <strong>General</strong>-<strong>Purpose</strong> <strong>Instructions</strong> in 64-Bit Mode 413B.1 <strong>General</strong> Rules for 64-Bit Mode. . . . . . . . . . . . . . . . . . . . . . . . 413B.2 Operation <strong>and</strong> Oper<strong>and</strong> Size in 64-Bit Mode . . . . . . . . . . . . 414B.3 Invalid <strong>and</strong> Reassigned <strong>Instructions</strong> in 64-Bit Mode . . . . . . 444B.4 <strong>Instructions</strong> with 64-Bit Default Oper<strong>and</strong> Size. . . . . . . . . . . 446B.5 Single-Byte INC <strong>and</strong> DEC <strong>Instructions</strong> in 64-Bit Mode . . . . 448B.6 NOP in 64-Bit Mode. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 448B.7 Segment Override Prefixes in 64-Bit Mode . . . . . . . . . . . . . 449Appendix C Differences Between Long Mode <strong>and</strong> Legacy Mode 451Appendix D Instruction Subsets <strong>and</strong> CPUID Feature Sets 453D.1 Instruction Subsets . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 453D.2 CPUID Feature Sets . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 455D.3 Instruction List . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 457Appendix E Instruction Effects on RFLAGS 493Index 499viiiContents

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!