📄 mmx_appb.htm
字号:
<html>
<head>
<meta content="charset=gb2312">
</head>
<style type="text/css">
<!--
p,td,body {font: 10.5pt}
small {font: 9pt;}
big {font: 24pt}
h1 {font: 22pt}
h2 {font: 20pt}
h3 {font: 18pt}
h4 {font: 16pt}
h5 {font: 14pt}
h6 {font: 12pt}
A:link {text-decoration: none; color: "#DBCAAE"}
A:visited {text-decoration: none; color: "#DBCAAE"}
A:active {text-decoration: none; color: "#DBCAAE"}
A:hover {text-decoration: none; color: "#FBEACE"}
-->
</style>
<body bgcolor="#000000" text="#DBCAAE" link="#DBCAAE" vlink="#DBCAAE" alink="#DBCAAE" topmargin="10" leftmargin="4">
<p>
<center>
<a href="tppmsgs/msgs0.htm#1" tppabs="http://freemind.163.net/index.html"><img src="bigtitle.gif" tppabs="http://freemind.163.net/bigtitle.gif" width=505 height=92 border="0"></a><br>
</center>
<big><FONT FACE="Arial"><B><FONT COLOR="#FBEACE">D</FONT><FONT COLOR="#EBDABE">A</FONT><FONT COLOR="#DBCAAE">T</FONT><FONT COLOR="#CBBA9E">A</FONT><FONT COLOR="#BBAA8E">B</FONT><FONT COLOR="#AB9A7E">A</FONT><FONT COLOR="#9B8A6E">S</FONT><FONT COLOR="#8B7A5E">E</FONT></B></FONT></big>
<table border="0" cellpadding="0" cellspacing="0" width="100%"><tr><td bgcolor="#CBBA9E" height="1"></td></tr><tr><td bgcolor="#FBEACE" height="1"></td></tr><tr><td bgcolor="#DBCAAE" height="1"></td></tr><tr><td bgcolor="#BBAA8E" height="1"></td></tr><tr><td bgcolor="#9B8A6E" height="1"></td></tr><tr><td bgcolor="#7B6A4E" height="1"></td></tr><tr><td bgcolor="#5B4A2E" height="1"></td></tr><tr><td bgcolor="#3B2A0E" height="1"></td></tr><tr><td height="10"></td></tr></table>
<center>
<big><font face="黑体">INTEL 体系结构<br>MMX™ 技术程序员参考手册</font></big><br>
<small><FONT FACE="Arial"><b>Intel Architecture MMX™ Technology Programmer's Reference Manual</b></font></small><br><br>
</center>
<table border="0" width="100%" border="0" cellpadding="2" cellspacing="0"><tr><td align="right"><a href="mmx.htm" tppabs="http://freemind.163.net/database/mmx/mmx.htm">返回</a></td></tr></table>
<table border="0" width="100%"><tr><td bgcolor="#CBBA9E" height="2"></td></tr></table>
</p>
<p><font face="arial">
<h3><B>APPENDIX B<BR>IA MMX™ INSTRUCTION FORMATS AND ENCODINGS</B></h3>
<H3>B.1 Instruction Formats</H3>
All MMX instructions, except the EMMS instruction,
use the same format similar as the two-byte Intel Architecture
integer operations. Details of subfield encodings within these
formats are presented below.<br><br>
<a name="TableB-1"></a>
<center><table border="0" cellpadding="2" cellspacing="1" bgcolor="#EBDABE" WIDTH=420>
<TR><TD bgcolor="#000000" COLSPAN=2><CENTER><small><b>Table B-1. Encoding of Granularity of Data (gg) Field</b></small></CENTER></TD></TR>
<TR><TD bgcolor="#000000" WIDTH=142><CENTER><small><b>gg</b></small></CENTER></TD><TD bgcolor="#000000" WIDTH=368><CENTER><small><b>Granularity of Data</b></small></CENTER></TD></TR>
<TR><TD bgcolor="#000000" WIDTH=142><CENTER><small>00</small></CENTER></TD><TD bgcolor="#000000" WIDTH=368><CENTER><small>packed bytes</small></CENTER></TD></TR>
<TR><TD bgcolor="#000000" WIDTH=142><CENTER><small>01</small></CENTER></TD><TD bgcolor="#000000" WIDTH=368><CENTER><small>packed words</small></CENTER></TD></TR>
<TR><TD bgcolor="#000000" WIDTH=142><CENTER><small>10</small></CENTER></TD><TD bgcolor="#000000" WIDTH=368><CENTER><small>packed doublewords</small></CENTER></TD></TR>
<TR><TD bgcolor="#000000" WIDTH=142><CENTER><small>11</small></CENTER></TD><TD bgcolor="#000000" WIDTH=368><CENTER><small>quadword</small></CENTER></TD></TR>
</TABLE></CENTER>
<br>
<a name="TableB-2"></a>
<center><table border="0" cellpadding="2" cellspacing="1" bgcolor="#EBDABE" WIDTH=510>
<TR><TD bgcolor="#000000" COLSPAN=2><CENTER><small><b>Table B­2. Encoding of 32-bit General Purpose (reg) Field for Register-to-Register Operations</b></CENTER></small></TD></TR>
<TR><TD bgcolor="#000000" WIDTH=255><CENTER><small><b>reg Field</b></small></CENTER></TD><TD bgcolor="#000000" WIDTH=255><CENTER><small><b>Register Selected</b></small></CENTER></TD></TR>
<TR><TD bgcolor="#000000" WIDTH=255><CENTER><small>000</small></CENTER></TD><TD bgcolor="#000000" WIDTH=255><CENTER><small>EAX</small></CENTER></TD></TR>
<TR><TD bgcolor="#000000" WIDTH=255><CENTER><small>001</small></CENTER></TD><TD bgcolor="#000000" WIDTH=255><CENTER><small>ECX</small></CENTER></TD></TR>
<TR><TD bgcolor="#000000" WIDTH=255><CENTER><small>010</small></CENTER></TD><TD bgcolor="#000000" WIDTH=255><CENTER><small>EDX</small></CENTER></TD></TR>
<TR><TD bgcolor="#000000" WIDTH=255><CENTER><small>011</small></CENTER></TD><TD bgcolor="#000000" WIDTH=255><CENTER><small>EBX</small></CENTER></TD></TR>
<TR><TD bgcolor="#000000" WIDTH=255><CENTER><small>100</small></CENTER></TD><TD bgcolor="#000000" WIDTH=255><CENTER><small>ESP</small></CENTER></TD></TR>
<TR><TD bgcolor="#000000" WIDTH=255><CENTER><small>101</small></CENTER></TD><TD bgcolor="#000000" WIDTH=255><CENTER><small>EBP</small></CENTER></TD></TR>
<TR><TD bgcolor="#000000" WIDTH=255><CENTER><small>110</small></CENTER></TD><TD bgcolor="#000000" WIDTH=255><CENTER><small>ESI</small></CENTER></TD></TR>
<TR><TD bgcolor="#000000" WIDTH=255><CENTER><small>111</small></CENTER></TD><TD bgcolor="#000000" WIDTH=255><CENTER><small>EDI</small></CENTER></TD></TR>
</TABLE></CENTER>
<br>
<B>NOTE:</B> For register-to-register operations, the decoding of integer registers is independent of processor mode. For register-to-memory operations, the effective address is calculated based on the processor mode in effect.<br><br>
<a name="TableB-3"></a>
<center><table border="0" cellpadding="2" cellspacing="1" bgcolor="#EBDABE" WIDTH=510>
<TR><TD bgcolor="#000000" COLSPAN=2><CENTER><small><b>Table B-3. Encoding of 64-bit MMX™ Register (mmxreg) Field</b></small></CENTER></TD></TR>
<TR><TD bgcolor="#000000" WIDTH=255><CENTER><small><b>mmxreg Field</b></small></CENTER></TD><TD bgcolor="#000000" WIDTH=255><CENTER><small><b>MMX Register Selected</b></small></CENTER></TD></TR>
<TR><TD bgcolor="#000000" WIDTH=255><CENTER><small>000</small></CENTER></TD><TD bgcolor="#000000" WIDTH=255><CENTER><small>mm0</small></CENTER></TD></TR>
<TR><TD bgcolor="#000000" WIDTH=255><CENTER><small>001</small></CENTER></TD><TD bgcolor="#000000" WIDTH=255><CENTER><small>mm1</small></CENTER></TD></TR>
<TR><TD bgcolor="#000000" WIDTH=255><CENTER><small>010</small></CENTER></TD><TD bgcolor="#000000" WIDTH=255><CENTER><small>mm2</small></CENTER></TD></TR>
<TR><TD bgcolor="#000000" WIDTH=255><CENTER><small>011</small></CENTER></TD><TD bgcolor="#000000" WIDTH=255><CENTER><small>mm3</small></CENTER></TD></TR>
<TR><TD bgcolor="#000000" WIDTH=255><CENTER><small>100</small></CENTER></TD><TD bgcolor="#000000" WIDTH=255><CENTER><small>mm4</small></CENTER></TD></TR>
<TR><TD bgcolor="#000000" WIDTH=255><CENTER><small>101</small></CENTER></TD><TD bgcolor="#000000" WIDTH=255><CENTER><small>mm5</small></CENTER></TD></TR>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -