4-8.htm
来自「浙江大学计算机学院计算机组成教材《计算机组成与设计》(潘学增)的课堂教学课件。」· HTM 代码 · 共 650 行 · 第 1/4 页
HTM
650 行
<td width="48" height="14">
<p align="center"><font color="#000000" size="4">4</font></td>
<td width="60" height="14">
<p align="center"><font color="#000000" size="4">2</font></td>
<td width="54" height="14">
<p align="center"><font color="#000000" size="4">2</font></td>
<td width="227" height="14"><font color="#000000" size="4">mul.d $f2,$f4,$f6</font></td>
</tr>
<tr>
<td width="82" height="15"><font color="#000000" size="4">div.d</font></td>
<td width="57" height="15">
<p align="center"><font color="#000000" size="4">R</font></td>
<td width="59" height="15">
<p align="center"><font color="#000000" size="4">17</font></td>
<td width="57" height="15">
<p align="center"><font color="#000000" size="4">17</font></td>
<td width="52" height="15">
<p align="center"><font color="#000000" size="4">6</font></td>
<td width="48" height="15">
<p align="center"><font color="#000000" size="4">4</font></td>
<td width="60" height="15">
<p align="center"><font color="#000000" size="4">2</font></td>
<td width="54" height="15">
<p align="center"><font color="#000000" size="4">3</font></td>
<td width="227" height="15"><font color="#000000" size="4">div.d $f2,$f4,$f6</font></td>
</tr>
<tr>
<td width="82" height="11"><font color="#000000" size="4">lwc1</font></td>
<td width="57" height="11">
<p align="center"><font color="#000000" size="4">l</font></td>
<td width="59" height="11">
<p align="center"><font color="#000000" size="4">49</font></td>
<td width="57" height="11">
<p align="center"><font color="#000000" size="4">2</font></td>
<td width="52" height="11">
<p align="center"><font color="#000000" size="4">1</font></td>
<td width="162" height="16" colspan="3">
<p align="center"><font color="#000000" size="4">100</font></td>
<td width="227" height="11"><font color="#000000" size="4">lwc1 $f1,100($2)</font></td>
</tr>
<tr>
<td width="82" height="15"><font color="#000000" size="4">swc1</font></td>
<td width="57" height="15">
<p align="center"><font color="#000000" size="4">l</font></td>
<td width="59" height="15">
<p align="center"><font color="#000000" size="4">57</font></td>
<td width="57" height="15">
<p align="center"><font color="#000000" size="4">2</font></td>
<td width="52" height="15">
<p align="center"><font color="#000000" size="4">1</font></td>
<td width="162" height="16" colspan="3">
<p align="center"><font color="#000000" size="4">100</font></td>
<td width="227" height="15"><font color="#000000" size="4">swc1 $f1,100($2)</font></td>
</tr>
<tr>
<td width="82" height="15"><font color="#000000" size="4">bclt</font></td>
<td width="57" height="15">
<p align="center"><font color="#000000" size="4">l</font></td>
<td width="59" height="15">
<p align="center"><font color="#000000" size="4">17</font></td>
</center>
<td width="57" height="15">
<p align="center"><font color="#000000" size="4">8</font></td>
<center>
<td width="52" height="15">
<p align="center"><font color="#000000" size="4">1</font></td>
<td width="162" height="16" colspan="3">
<p align="center"><font color="#000000" size="4">100</font></td>
<td width="227" height="15"><font color="#000000" size="4">bc1t 100</font></td>
</tr>
<tr>
<td width="82" height="15"><font color="#000000" size="4">bclf</font></td>
<td width="57" height="15">
<p align="center"><font color="#000000" size="4">l</font></td>
<td width="59" height="15">
<p align="center"><font color="#000000" size="4">17</font></td>
<td width="57" height="15">
<p align="center"><font color="#000000" size="4">8</font></td>
<td width="52" height="15">
<p align="center"><font color="#000000" size="4">0</font></td>
<td width="162" height="16" colspan="3">
<p align="center"><font color="#000000" size="4">100</font></td>
<td width="227" height="15"><font color="#000000" size="4">bc1f 100</font></td>
</tr>
<tr>
<td width="82" height="15"><font color="#000000" size="4">c.lt.s</font></td>
<td width="57" height="15">
<p align="center"><font color="#000000" size="4">R</font></td>
<td width="59" height="15">
<p align="center"><font color="#000000" size="4">17</font></td>
<td width="57" height="15">
<p align="center"><font color="#000000" size="4">16</font></td>
<td width="52" height="15">
<p align="center"><font color="#000000" size="4">4</font></td>
<td width="48" height="15">
<p align="center"><font color="#000000" size="4">2</font></td>
<td width="60" height="15">
<p align="center"><font color="#000000" size="4">0</font></td>
<td width="54" height="15">
<p align="center"><font color="#000000" size="4">60</font></td>
<td width="227" height="15"><font color="#000000" size="4">c.lt.s $f2,$f4</font></td>
</tr>
<tr>
<td width="82" height="15"><font color="#000000" size="4">c.lt.d</font></td>
<td width="57" height="15">
<p align="center"><font color="#000000" size="4">R</font></td>
<td width="59" height="15">
<p align="center"><font color="#000000" size="4">17</font></td>
<td width="57" height="15">
<p align="center"><font color="#000000" size="4">17</font></td>
<td width="52" height="15">
<p align="center"><font color="#000000" size="4">4</font></td>
<td width="48" height="15">
<p align="center"><font color="#000000" size="4">2</font></td>
<td width="60" height="15">
<p align="center"><font color="#000000" size="4">0</font></td>
<td width="54" height="15">
<p align="center"><font color="#000000" size="4">60</font></td>
<td width="227" height="15"><font color="#000000" size="4">c.lt.d $f2,$f4</font></td>
</tr>
<tr>
<td width="82" height="15"><font color="#000000" size="4">Field size</font></td>
<td width="57" height="15">
<p align="center"></td>
<td width="59" height="15">
<p align="center"><font color="#000000" size="4">6 bits</font></td>
<td width="57" height="15">
<p align="center"><font color="#000000" size="4">5 bits</font></td>
<td width="52" height="15">
<p align="center"><font color="#000000" size="4">5 bits</font></td>
<td width="48" height="15">
<p align="center"><font color="#000000" size="4">5 bits</font></td>
<td width="60" height="15">
<p align="center"><font color="#000000" size="4">5 bits</font></td>
<td width="54" height="15">
<p align="center"><font color="#000000" size="4">6 bits</font></td>
<td width="227" height="15"><font color="#000000" size="4">All MIPS instruction 32
bits</font></td>
</tr>
</table>
</center>
</div>
<p align="center"><font color="#000000" size="4"> </font></p>
<p align="left"><font color="#000000" size="4">五:<a name="精度计算">精度计算</a></font></p>
<p align="left"><font color="#000000" size="4"> 1.四舍五入法<br>
2.多添加保护位法:<br>
举例:设有三位有效位,2.56×10<sup>0</sup>×2.34×10<sup>2</sup><br>
则 2.3400<br>
+ 0.0256<br>
---------------<br>
2.3656<br>
则product=2.3656×10<sup>2</sup>,然后四舍五入,product=2.37×10<sup>2</sup>,即0--49舍去,50--99舍入。 </font></p>
<p align="left"><font color="#000000" size="4"> </font></p>
</body>
</html>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?