4-2.htm
来自「浙江大学计算机学院计算机组成教材《计算机组成与设计》(潘学增)的课堂教学课件。」· HTM 代码 · 共 561 行 · 第 1/4 页
HTM
561 行
<td width="100%"><font color="#000000" size="4">add $1,$2,$3</font></td>
</tr>
<tr>
<td width="100%"><font color="#000000" size="4">sub $1,$2,$3</font></td>
</tr>
<tr>
<td width="100%"><font color="#000000" size="4">addi $1,$2,100</font></td>
</tr>
</table>
</div>
</td>
<td width="18%" height="54">
<div align="center">
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td width="100%"><font color="#000000" size="4">$1=$2+$3</font></td>
</tr>
<tr>
<td width="100%"><font color="#000000" size="4">$1=$2-$3</font></td>
</tr>
<tr>
<td width="100%"><font color="#000000" size="4">$1=$2+100</font></td>
</tr>
</table>
</div>
</td>
<td width="21%" height="54">
<div align="center">
<table border="0" cellpadding="0" cellspacing="0" width="124%">
<tr>
<td width="100%"><font color="#000000" size="4">3operands;</font></td>
</tr>
<tr>
<td width="100%"><font color="#000000" size="4">3operands;</font></td>
</tr>
<tr>
<td width="100%"><font color="#000000" size="4">add constants</font></td>
</tr>
</table>
</div>
</td>
</tr>
<tr>
<td width="15%" height="57">
<p align="center"><font color="#000000" size="4">Data transfer</font></td>
<td width="27%" height="57">
<div align="center">
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td width="100%"><font color="#000000" size="4">load word</font></td>
</tr>
<tr>
<td width="100%"><font color="#000000" size="4">store word</font></td>
</tr>
<tr>
<td width="100%"><font color="#000000" size="4">load upper imm.</font></td>
</tr>
</table>
</div>
</td>
<td width="19%" height="57">
<div align="center">
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td width="100%"><font color="#000000" size="4">lw $1,100($2)</font></td>
</tr>
<tr>
<td width="100%"><font color="#000000" size="4">sw $1,100($2)</font></td>
</tr>
<tr>
<td width="100%"><font color="#000000" size="4">lui $1,100</font></td>
</tr>
</table>
</div>
</td>
<td width="18%" height="57">
<div align="center">
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td width="100%"><font color="#000000" size="4">$1=Mem[$2+100]</font></td>
</tr>
<tr>
<td width="100%"><font color="#000000" size="4">Mem[$2+100]=$1</font></td>
</tr>
<tr>
<td width="100%"><font color="#000000" size="4">$1=100×2<sup>16</sup></font></td>
</tr>
</table>
</div>
</td>
<td width="21%" height="57">
<div align="center">
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td width="100%"><font color="#000000" size="4">Mem to register</font></td>
</tr>
<tr>
<td width="100%"><font color="#000000" size="4">register to Mem</font></td>
</tr>
<tr>
<td width="100%"><font color="#000000" size="4">Load constant</font></td>
</tr>
</table>
</div>
</td>
</tr>
<tr>
<td width="15%" height="16">
<p align="center"><font color="#000000" size="4">Conditional branch </font></p>
</td>
<td width="27%" height="16">
<div align="center">
<table border="0" cellpadding="0" cellspacing="0" width="104%">
<tr>
<td width="100%"><font color="#000000" size="4">branch on equal</font></td>
</tr>
<tr>
<td width="100%"><font color="#000000" size="4">branch on not eq.</font></td>
</tr>
<tr>
<td width="100%"><font color="#000000" size="4">set on less than</font></td>
</tr>
<tr>
<td width="100%"><font color="#000000" size="4">set less than imm</font></td>
</tr>
<tr>
<td width="100%"><font color="#000000" size="4">set on less than unsi</font></td>
</tr>
<tr>
<td width="100%"><font color="#000000" size="4">set less than imm.unsi</font></td>
</tr>
</table>
</div>
</td>
<td width="19%" height="16">
<div align="center">
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td width="100%"><font color="#000000" size="4">beq $1,$2,100</font></td>
</tr>
<tr>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?