📄 7.htm
字号:
<table border="1" width="100%" bordercolordark="#CC9966" bordercolorlight="#FFCC66">
<tr>
<td width="50%" align="center"><b><font color="#000000" size="4">Field</font></b></td>
<td width="50%" align="center"><b><font color="#000000" size="4">Effect</font></b></td>
</tr>
<tr>
<td width="50%" align="center"><b><font color="#000000" size="4">ALU control,SRC1,SRC2</font></b></td>
<td width="50%" align="center"><b><font color="#000000" size="4">The ALU continues the same operation .The ALU
dest field specifies that rd is used to choose the destination register.</font></b></td>
</tr>
<tr>
<td width="50%" align="center"><b><font color="#000000" size="4">Sequencing</font></b></td>
<td width="50%" align="center"><b><font color="#000000" size="4">Go to the next microinstruction</font></b></td>
</tr>
</table>
<p><b><font color="#000000" size="4">下面我们再来看看beq指令:</font></b></p>
<table border="1" width="100%" bordercolordark="#CC9966" bordercolorlight="#FFCC66">
<tr>
<td width="11%">
<p align="center"><b><font color="#000000" size="4">Label</font></b></td>
<td width="11%">
<p align="center"><b><font color="#000000" size="4">ALU control</font></b></td>
<td width="11%">
<p align="center"><b><font color="#000000" size="4">SRC1</font></b></td>
<td width="11%">
<p align="center"><b><font color="#000000" size="4">SRC2</font></b></td>
<td width="11%">
<p align="center"><b><font color="#000000" size="4">ALU destination</font></b></td>
<td width="11%">
<p align="center"><b><font color="#000000" size="4">Memory</font></b></td>
<td width="11%">
<p align="center"><b><font color="#000000" size="4">Memory register</font></b></td>
<td width="11%">
<p align="center"><b><font color="#000000" size="4">PCWrite control</font></b></td>
<td width="12%">
<p align="center"><b><font color="#000000" size="4">Sequencing</font></b></td>
</tr>
<tr>
<td width="11%">
<p align="center"><b><font color="#000000" size="4">BEQ1</font></b></td>
<td width="11%">
<p align="center"><b><font color="#000000" size="4">Subt</font></b></td>
<td width="11%">
<p align="center"><b><font color="#000000" size="4">rs</font></b></td>
<td width="11%">
<p align="center"><b><font color="#000000" size="4">rt</font></b></td>
<td width="11%" align="center">
<p align="center"><font color="#000000" size="4"> </font></td>
<td width="11%" align="center">
<p align="center"> </td>
<td width="11%" align="center">
<p align="center"> </td>
<td width="11%" align="center">
<p align="center"><b><font color="#000000" size="4">Target-cond</font></b></td>
<td width="12%" align="center">
<p align="center"><b><font color="#000000" size="4">Fetch</font></b></td>
</tr>
</table>
<p><font color="#000000" size="4"> </font></p>
<p><b><font color="#000000" size="4">解释:</font></b></p>
<table border="1" width="100%" bordercolordark="#CC9966" bordercolorlight="#FFCC66">
<tr>
<td width="50%" align="center"><b><font color="#000000" size="4">Field</font></b></td>
<td width="50%" align="center"><b><font color="#000000" size="4">Effect</font></b></td>
</tr>
<tr>
<td width="50%" align="center"><b><font color="#000000" size="4">ALU control,SRC1,SRC2</font></b></td>
<td width="50%" align="center"><b><font color="#000000" size="4">The ALU subtract the register operands to
generate the Zero output</font></b></td>
</tr>
<tr>
<td width="50%" align="center"><b><font color="#000000" size="4">PCWrite control</font></b></td>
<td width="50%" align="center"><b><font color="#000000" size="4">Cause the PC to be written using the value in
target , if the Zero output of ALU is true</font> </b></td>
</tr>
<tr>
<td width="50%" align="center"><b><font color="#000000" size="4">Sequencing</font></b></td>
<td width="50%" align="center"><b><font color="#000000" size="4">Go to the microinstruction labeled Fetch </font>
</b></td>
</tr>
</table>
<p><font color="#000000" size="4"> </font></p>
<p><b><font color="#000000" size="4">最后我们再来看看J指令:</font></b></p>
<table border="1" width="100%" bordercolordark="#CC9966" bordercolorlight="#FFCC66">
<tr>
<td width="11%">
<p align="center"><b><font color="#000000" size="4">Label</font></b></td>
<td width="11%">
<p align="center"><b><font color="#000000" size="4">ALU control</font></b></td>
<td width="11%">
<p align="center"><b><font color="#000000" size="4">SRC1</font></b></td>
<td width="11%">
<p align="center"><b><font color="#000000" size="4">SRC2</font></b></td>
<td width="11%">
<p align="center"><b><font color="#000000" size="4">ALU destination</font></b></td>
<td width="11%">
<p align="center"><b><font color="#000000" size="4">Memory</font></b></td>
<td width="11%">
<p align="center"><b><font color="#000000" size="4">Memory register</font></b></td>
<td width="11%">
<p align="center"><b><font color="#000000" size="4">PCWrite control</font></b></td>
<td width="12%">
<p align="center"><b><font color="#000000" size="4">Sequencing</font></b></td>
</tr>
<tr>
<td width="11%" align="center"><b><font color="#000000" size="4">JUMP1</font></b></td>
<td width="11%" align="center"><font color="#000000" size="4"> </font></td>
<td width="11%" align="center"> </td>
<td width="11%" align="center"> </td>
<td width="11%" align="center">
<p align="center"> </td>
<td width="11%" align="center">
<p align="center"> </td>
<td width="11%" align="center">
<p align="center"> </td>
<td width="11%" align="center">
<p align="center"><b><font color="#000000" size="4">jump address</font></b></td>
<td width="12%" align="center">
<p align="center"><b><font color="#000000" size="4">Fetch</font></b></td>
</tr>
</table>
<p align="left"><b><font color="#000000" size="4">解释</font></b></p>
<table border="1" width="100%" bordercolordark="#CC9966" bordercolorlight="#FFCC66">
<tr>
<td width="50%" align="center"><b><font color="#000000" size="4">Field</font></b></td>
<td width="50%" align="center"><b><font color="#000000" size="4">Effect</font></b></td>
</tr>
<tr>
<td width="50%" align="center"><b><font color="#000000" size="4">ALU control,SRC1,SRC2</font></b></td>
<td width="50%" align="center"><b><font color="#000000" size="4">Causes the PC to be written using the jump
field</font></b></td>
</tr>
<tr>
<td width="50%" align="center"><b><font color="#000000" size="4">Sequencing</font></b></td>
<td width="50%" align="center"><b><font color="#000000" size="4">Go to the microinstruction labeled Fetch</font></b></td>
</tr>
</table>
<p align="left"><b><font color="#000000" size="4">我们知道,微指令的执行过程就是产生各种的控制信号,我们来具体的看看</font></b></p>
<p align="left"><b><font color="#000000" size="4">这一个步骤:</font></b></p>
<p align="left"><b><font color="#000000" size="4">如图:</font></b></p>
<p align="left"><font color="#000000" size="4"><img border="0" src="Image/7-2.gif" width="490" height="600"></font></p>
<p align="left"><b><font color="#000000" size="4">其中:</font></b></p>
<table border="1" width="43%" bordercolordark="#CC9966" bordercolorlight="#FFCC66">
<tr>
<td width="50%" align="center"><b><font color="#000000" size="4">Addrctl value</font></b></td>
<td width="50%" align="center"><b><font color="#000000" size="4">Action</font></b></td>
</tr>
<tr>
<td width="50%" align="center"><b><font color="#000000" size="4">0</font></b></td>
<td width="50%" align="center"><b><font color="#000000" size="4">Set state to 0</font> </b></td>
</tr>
<tr>
<td width="50%" align="center"><b><font color="#000000" size="4">1</font></b></td>
<td width="50%" align="center"><b><font color="#000000" size="4">Dispatch with ROM2</font></b></td>
</tr>
<tr>
<td width="50%" align="center"><b><font color="#000000" size="4">2</font></b></td>
<td width="50%" align="center"><b><font color="#000000" size="4">Dispatch with ROM1</font></b></td>
</tr>
<tr>
<td width="50%" align="center"><b><font color="#000000" size="4">3</font></b></td>
<td width="50%" align="center"><b><font color="#000000" size="4">Use the incremented state</font></b></td>
</tr>
</table>
<p align="left"><font color="#000000" size="4"> </font></p>
<table border="1" width="74%" bordercolordark="#CC9966" bordercolorlight="#FFCC66">
<tr>
<td width="100%" colspan="3" align="center"><b><font color="#000000" size="4">Dispatch ROM 1</font></b></td>
</tr>
<tr>
<td width="33%" align="center"><b><font color="#000000" size="4">OP</font></b></td>
<td width="33%" align="center"><b><font color="#000000" size="4">Opcode name</font></b></td>
<td width="34%" align="center"><b><font color="#000000" size="4">Value</font></b></td>
</tr>
<tr>
<td width="33%" align="center"><b><font color="#000000" size="4">000000</font></b></td>
<td width="33%" align="center"><b><font color="#000000" size="4">R-format</font></b></td>
<td width="34%" align="center"><b><font color="#000000" size="4">0110</font></b></td>
</tr>
<tr>
<td width="33%" align="center"><b><font color="#000000" size="4">000010</font></b></td>
<td width="33%" align="center"><b><font color="#000000" size="4">jmp</font></b></td>
<td width="34%" align="center"><b><font color="#000000" size="4">1001</font></b></td>
</tr>
<tr>
<td width="33%" align="center"><b><font color="#000000" size="4">000100</font></b></td>
<td width="33%" align="center"><b><font color="#000000" size="4">beq</font></b></td>
<td width="34%" align="center"><b><font color="#000000" size="4">1000</font></b></td>
</tr>
<tr>
<td width="33%" align="center"><b><font color="#000000" size="4">100011</font></b></td>
<td width="33%" align="center"><b><font color="#000000" size="4">lw</font></b></td>
<td width="34%" align="center"><b><font color="#000000" size="4">0010</font></b></td>
</tr>
<tr>
<td width="33%" align="center"><b><font color="#000000" size="4">101011</font></b></td>
<td width="33%" align="center"><b><font color="#000000" size="4">sw</font></b></td>
<td width="34%" align="center"><b><font color="#000000" size="4">0010</font></b></td>
</tr>
</table>
<p><font color="#000000" size="4"> </font></p>
<table border="1" width="76%" bordercolordark="#CC9966" bordercolorlight="#FFCC66">
<tr>
<td width="100%" colspan="3" align="center"><b><font color="#000000" size="4">Dispatch ROM 2</font></b></td>
</tr>
<tr>
<td width="33%" align="center"><b><font color="#000000" size="4">Op</font></b></td>
<td width="33%" align="center"><b><font color="#000000" size="4">Opcode name</font></b></td>
<td width="34%" align="center"><b><font color="#000000" size="4">Value</font> </b></td>
</tr>
<tr>
<td width="33%" align="center"><b><font color="#000000" size="4">100011</font></b></td>
<td width="33%" align="center"><b><font color="#000000" size="4">lw</font></b></td>
<td width="34%" align="center"><b><font color="#000000" size="4">0011</font></b></td>
</tr>
<tr>
<td width="33%" align="center"><b><font color="#000000" size="4">101011</font></b></td>
<td width="33%" align="center"><b><font color="#000000" size="4">sw</font></b></td>
<td width="34%" align="center"><b><font color="#000000" size="4">0101</font></b></td>
</tr>
</table>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -