📄 微指令格式.htm
字号:
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>New Page </title>
<meta name="Microsoft Theme" content="arcs 011">
<meta name="Microsoft Border" content="none">
</head>
<body style="background-color: #800000" background="../images/arctile.jpg" bgcolor="#FFFFFF" text="#000000" link="#3399FF" vlink="#666666" alink="#FF9900">
<h3 align="center"><font color="#000000">微指令的格式
</font></h3>
<h3 align="center"><font color="#000000" size="4"> <a href="7.htm">返回</a></font></h3>
<table border="1" width="86%" bordercolordark="#663300" bordercolorlight="#993300">
<tr>
<td width="9%" align="center"><b><font color="#000000" size="4">ALU控制</font></b></td>
<td width="6%" align="center"><b><font color="#000000" size="4">SRC1</font></b></td>
<td width="6%" align="center"><b><font color="#000000" size="4">SRC2</font></b></td>
<td width="16%" align="center"><b><font color="#000000" size="4">ALU Destination</font></b></td>
<td width="9%" align="center"><b><font color="#000000" size="4">Memory</font></b></td>
<td width="16%" align="center"><b><font color="#000000" size="4">Memory Register</font></b></td>
<td width="13%" align="center"><b><font color="#000000" size="4">PCWrite contril</font></b></td>
<td width="25%" align="center"><b><font color="#000000" size="4">Sequencing</font></b></td>
</tr>
</table>
<p><font color="#000000" size="4"> 各字段的定义如下</font></p>
<table border="1" width="100%" bordercolordark="#663300" bordercolorlight="#993300">
<tr>
<td width="20%" align="center"><b><font color="#000000" size="4">
Field
Name</font></b></td>
<td width="80%" align="center"><b><font color="#000000" size="4">
Function of field</font></b></td>
</tr>
<tr>
<td width="20%" align="center"><b><font color="#000000" size="4">ALU Control</font></b></td>
<td width="80%" align="center"><b><font color="#000000" size="4">Specify the operation being done by the
ALU during this clock</font></b></td>
</tr>
<tr>
<td width="20%" align="center"><b><font color="#000000" size="4">SRC!</font></b></td>
<td width="80%" align="center"><b><font color="#000000" size="4">Specify the source for the first ALU
operand</font></b></td>
</tr>
<tr>
<td width="20%" align="center"><b><font color="#000000" size="4">SRC2</font></b></td>
<td width="80%" align="center"><b><font color="#000000" size="4">Specify the source for the second ALU
operand</font></b></td>
</tr>
<tr>
<td width="20%" align="center"><b><font color="#000000" size="4">ALU Destination</font></b></td>
<td width="80%" align="center"><b><font color="#000000" size="4">Specify a register to be written from the
ALU result</font></b></td>
</tr>
<tr>
<td width="20%" align="center"><b><font color="#000000" size="4">Memory</font></b></td>
<td width="80%" align="center"><b><font color="#000000" size="4">Specify read or write and the address
source</font></b></td>
</tr>
<tr>
<td width="20%" align="center"><b><font color="#000000" size="4">Memory Register</font></b></td>
<td width="80%" align="center"><b><font color="#000000" size="4">Specify the register destination (for a
memory read)</font></b></td>
</tr>
<tr>
<td width="20%" align="center"><b><font color="#000000" size="4">PCWrite Control</font></b></td>
<td width="80%" align="center"><b><font color="#000000" size="4">Specify the writing of the PC</font></b></td>
</tr>
<tr>
<td width="20%" align="center"><b><font color="#000000" size="4">Squencing</font></b></td>
<td width="80%" align="center"><b><font color="#000000" size="4">Specify how to choose the next
microinstruction to be executed</font></b></td>
</tr>
</table>
<p><font color="#000000" size="4">原则:</font></p>
<p><font color="#000000" size="4">
互斥的控制信号归入同一字段,可同时执行的控制信号编入不同字段</font></p>
<h3><font color="#000000" size="4">各字段的值和功用</font></h3>
<p> </p>
<table border="1" width="101%" height="718" bordercolordark="#CC9966" bordercolorlight="#FFCC66">
<tr>
<td width="33%" align="center" height="63"><h3><b><font color="#000000" size="4">
Ficld Name</font></b></h3>
</td>
<td width="33%" align="center" height="63"><h3><b><font color="#000000" size="4">
Value of
field</font> </b></h3>
</td>
<td width="34%" align="center" height="63"><h3><b><font color="#000000" size="4">
Function of field with specific value</font></b></h3>
</td>
</tr>
<tr>
<td width="33%" rowspan="3" align="center" height="75"><h3><b><font color="#000000" size="4"> ALU Control</font></b></h3>
</td>
<td width="33%" align="center" height="22"><h3><b><font color="#000000" size="4">
Add</font></b></h3>
</td>
<td width="34%" align="center" height="22"><b><font color="#000000" size="4">Cause the ALU to add</font></b>
</td>
</tr>
<tr>
<td width="33%" align="center" height="19"><h3><b> <font color="#000000" size="4"> Function code</font></b></h3>
</td>
<td width="34%" align="center" height="19"><b><font color="#000000" size="4">Use the instruction's function
code to determine ALU control</font></b>
</td>
</tr>
<tr>
<td width="33%" align="center" height="22"><h3><b> <font color="#000000" size="4"> Subt</font></b></h3>
</td>
<td width="34%" align="center" height="22"><b><font color="#000000" size="4">Cause the ALU to subtract</font></b>
</td>
</tr>
<tr>
<td width="33%" rowspan="2" align="center" height="50"><h3><b><font color="#000000" size="4"> SRC1</font></b></h3>
</td>
<td width="33%" align="center" height="22"><h3><b><font color="#000000" size="4">
PC</font></b></h3>
</td>
<td width="34%" align="center" height="22"><b><font color="#000000" size="4">Use the PC as the first ALYU
input</font></b>
</td>
</tr>
<tr>
<td width="33%" align="center" height="22"><h3><b><font color="#000000" size="4">
rs</font></b></h3>
</td>
<td width="34%" align="center" height="22"><b><font color="#000000" size="4">Register rs is the first ALU
input</font></b>
</td>
</tr>
<tr>
<td width="33%" rowspan="4" align="center" height="106"><h3><b><font color="#000000" size="4"> SRC2</font></b></h3>
</td>
<td width="33%" align="center" height="22"><h3><b><font color="#000000" size="4">
4</font></b></h3>
</td>
<td width="34%" align="center" height="22"><b><font color="#000000" size="4">Use 4 for the second ALU input</font></b>
</td>
</tr>
<tr>
<td width="33%" align="center" height="22"><h3><b><font color="#000000" size="4">
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -