title: Adding an instruction to a multicycle datapath and control (MIPS)
body: <p>I have an assignment where I have to add an instruction of this form:</p>
  
  <pre><code> liw &lt;dstreg&gt;,[&lt;src1reg&gt;+&lt;src2reg&gt;]
   e.g. liw $2,[$3+$4]
  </code></pre>
  
  <p>Where <code>liw</code> is similar to <code>lw</code>, <code>src1reg</code> and <code>src2reg</code> add together to get the memory address to be stored in <code>dstreg</code>. I was also supplied with this image, which states that I need to "modify the control for the multicycle implementation to add the instruction <code>liw</code>.</p>
  
  <p><img src="https://i.imgur.com/mWXHWpT.png" alt="Multicycle datapath to be modified"></p>