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 2005For most instructions running in 64-bit mode, access to theextended GPRs requires a REX instruction prefix (page 14).Figure 2-4 shows the segment registers which, like theinstruction pointer, are used by all instructions. In legacy <strong>and</strong>compatibility modes, all segments are accessible. In 64-bitmode, which uses the flat (non-segmented) memory model, onlythe CS, FS, <strong>and</strong> GS segments are recognized, whereas thecontents of the DS, ES, <strong>and</strong> SS segment registers are ignored(the base for each of these segments is assumed to be zero, <strong>and</strong>neither their segment limit nor attributes are checked). Fordetails, see “Segmented Virtual Memory” in <strong>Volume</strong> 2.Legacy Mode <strong>and</strong>Compatibility ModeCSDSESFSGSSS15 064-BitModeCS(Attributes only)ignoredignoredFS(Base only)GS(Base only)ignored15 0513-312.epsFigure 2-4.Segment RegistersData Types. Figure 2-5 on page 33 shows the general-purposedata types. They are all scalar, integer data types. The 64-bit(quadword) data types are only available in 64-bit mode, <strong>and</strong> formost instructions they require a REX instruction prefix.32 Chapter 2: Instruction Overview

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

Saved successfully!

Ooh no, something went wrong!