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 2005A.2.2 Two-ByteOpcodesAll two-byte opcodes have 0Fh as their first byte. Table A-3below shows the second byte of the two-byte opcodes in whichthe second byte’s low nibble is in the range 0–7h. Table A-4 onpage 383 shows those opcodes in which the second byte’s lownibble is in the range 8–Fh. In both tables, the rows show thefull range (0–Fh) of the high nibble, <strong>and</strong> the columns show thelow nibble of the opcode. The left-most column shows specialpurposeprefix bytes used in many 128-bit <strong>and</strong> 64-bitinstructions to modify the opcode.Table A-3. Second Byte of Two-Byte Opcodes, Low Nibble 0–7hPrefix Nibble 1 0 1 2 3 4 5 6 7n/a 0noneF3 166F2n/a 2n/a 3Group 6 2 Group 7 2 LAR LSL invalid SYSCALL CLTS SYSRETGv, Ew Gv, EwMOVUPSMOVLPSVps, MqMOVHLPSMOVLPS UNPCKLPS UNPCKHPSMOVHPSVps, MqMOVLHPSMOVHPSVps, Wps Wps, Vps Vps, VRq Mq, Vps Vps, Wq Vps, Wq Vps, VRq Mq, VpsMOVSS MOVSLDUP invalid invalid invalid MOVSHDUP invalidVdq/ss, Wss Wss, Vss Vps, Wps Vps, WpsMOVUPD MOVLPD UNPCKLPD UNPCKHPD MOVHPDVpd, Wpd Wpd, Vpd Vsd, Mq Mq, Vsd Vpd, Wq Vpd, Wq Vsd, Mq Mq, VsdMOVSD MOVDDUP invalid invalid invalid invalid invalidVdq/sd, Wsd Wsd, Vsd Vpd,WsdMOV invalid invalid invalid invalidRd/q, Cd/q Rd/q, Dd/q Cd/q, Rd/q Dd/q, Rd/qWRMSR RDTSC RDMSR RDPMC SYSENTER 3 SYSEXIT 3 invalid invalidn/a 4CMOVO CMOVNO CMOVB CMOVNB CMOVZ CMOVNZ CMOVBE CMOVNBEGv, Ev Gv, Ev Gv, Ev Gv, Ev Gv, Ev Gv, Ev Gv, Ev Gv, EvnoneMOVMSKPS SQRTPS RSQRTPS RCPPS ANDPS ANDNPS ORPS XORPSGd, VRps Vps, Wps Vps, Wps Vps, Wps Vps, Wps Vps, Wps Vps, Wps Vps, Wpsinvalid SQRTSS RSQRTSS RCPSS invalid invalid invalid invalidF3Vss, Wss Vss, Wss Vss, Wss5MOVMSKPD SQRTPD invalid invalid ANDPD ANDNPD ORPD XORPD66Gd, VRpd Vpd, Wpd Vpd, Wpd Vpd, Wpd Vpd, Wpd Vpd, WpdF2invalid SQRTSD invalid invalid invalid invalid invalid invalidVsd, WsdNote:1. All two-byte opcodes begin with an OFh byte. Rows in the table show the high nibble of the second opcode bytes, columns showthe low nibble of this byte.2. An opcode extension is specified in bits 5–3 of the ModRM byte. See “ModRM Extensions to One-Byte <strong>and</strong> Two-Byte Opcodes” onpage 387 for details.3. Invalid in long mode.380 Appendix A: Opcode <strong>and</strong> Oper<strong>and</strong> Encodings

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

Saved successfully!

Ooh no, something went wrong!