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 2005Table C-1.Differences Between Long Mode <strong>and</strong> Legacy Mode (continued)Type Subject 64-Bit Mode DifferenceApplies ToCompatibilityMode?x86 Modes Real <strong>and</strong> virtual-8086 modes not supported yesTask Switching Task switching not supported yes64-bit virtual addressesAddressing4-level paging structuresyesPAE must always be enabledCS, DS, ES, SS segment bases are ignoredSegmentationCS, DS, ES, FS, GS, SS segment limits are ignorednoCS, DS, ES, SS Segment prefixes are ignoredAll pushes are 8 bytes16-bit interrupt <strong>and</strong> trap gates are illegal<strong>System</strong>ProgrammingException <strong>and</strong>Interrupt H<strong>and</strong>ling32-bit interrupt <strong>and</strong> trap gates are redefined as 64-bitgates <strong>and</strong> are exp<strong>and</strong>ed to 16 bytesSS is set to null on stack switchyesSS:RSP is pushed unconditionallyAll pushes are 8 bytes16-bit call gates are illegalCall Gates32-bit call gate type is redefined as 64-bit call gate <strong>and</strong> isexp<strong>and</strong>ed to 16 bytes.yesSS is set to null on stack switch<strong>System</strong>-DescriptorRegistersGDT, IDT, LDT, TR base registers exp<strong>and</strong>ed to 64 bitsyes<strong>System</strong>-DescriptorTable Entries <strong>and</strong>Pseudo-descriptorsLGDT <strong>and</strong> LIDT use exp<strong>and</strong>ed 10-byte pseudodescriptors.LLDT <strong>and</strong> LTR use exp<strong>and</strong>ed 16-byte table entries.no452 Appendix C: Differences Between Long Mode <strong>and</strong> Legacy Mode

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

Saved successfully!

Ooh no, something went wrong!