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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

AMD64 Technology 24594 Rev. 3.10 February 2005Processor Name ........................................ 129Functions 8000_0002h, 8000_0003h,8000_0004h ....................................... 129processor signature .................................. 125processor vendor............................... 118, 125processor version ...................................... 119protected mode ......................................... xxiiPUSH ......................................................... 234PUSH FS...................................................... 15PUSH GS ..................................................... 15PUSH imm32............................................... 15PUSH imm8................................................. 15PUSH reg..................................................... 15PUSH reg/mem ........................................... 15PUSHA ...................................................... 236PUSHAD.................................................... 236PUSHF....................................................... 237PUSHFD .................................................... 237PUSHFQ .............................................. 15, 237Qquadword................................................... xxiiRr/m field ............................................. 387, 390r8–r15........................................................ xxvirAX–rSP.................................................... xxviRAZ............................................................ xxiiRCL ............................................................ 239RCR............................................................ 242RDMSR...................................................... 333RDPMC...................................................... 334RDTSC ....................................................... 336RDTSCP..................................................... 337real address mode. See real modereal mode................................................... xxiireg field ............................. 387, 403, 406, 407registerseAX–eSP................................................. xxveFLAGS................................................... xxveIP ........................................................... xxvencodings.................................................. 17general-purpose ....................................... 30MMX ......................................................... 38r8–r15..................................................... xxvirAX–rSP................................................. xxvirFLAGS ......................... xxvii, 386, 402, 493rIP.......................................................... xxviisegment..................................................... 32system ....................................................... 33x87............................................................. 40XMM ......................................................... 35relative....................................................... xxiiREPx prefixes............................................. 10reserved..................................................... xxiiRETfar return................................................ 247near return............................................. 245RET (Near) ................................................. 15revision history.......................................... xiiiREX prefixes ................................ 14, 24, 402REX.B bit .............................. 17, 47, 407, 409REX.R bit............................................ 16, 406REX.W bit................................................... 16REX.X bit.................................................... 16rFLAGS conditions codes ................ 386, 402rFLAGS register ............................. xxvii, 493rIP register.............................................. xxviiRIP-relative addressing .................... xxiii, 23ROL............................................................ 251ROR ........................................................... 253rotate count .............................................. 414RSM ........................................................... 339SSAHF ......................................................... 255SAL ............................................................ 256SAR............................................................ 259SBB ............................................................ 262scale field.................................................. 410scale-index-base (SIB).............................. 402SCAS.......................................................... 265SCASB ....................................................... 265SCASD....................................................... 265SCASQ....................................................... 265SCASW ...................................................... 265segment prefixes .................................. 9, 449segment registers ....................................... 32set ............................................................. xxiiiSETcc................................................. 267, 386SFENCE ............................................ 270, 390SGDT ......................................................... 341shift count ................................................. 414SHL............................................................ 271SHLD ......................................................... 272SHR ........................................................... 274SHRD......................................................... 276SIB ............................................................. 402SIB byte................................... 19, 21, 24, 408SIDT........................................................... 343SLDT.......................................................... 345SMSW ........................................................ 347SSE ........................................................... xxiiiSSE2 ......................................................... xxiiiSSE3 ......................................................... xxiii502 Index

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

Saved successfully!

Ooh no, something went wrong!