next up previous
Next: XMU0 Up: Implementation Previous: ACC operations: the detailed

PC operations, including the detailed steps to obey JMP, JNE & JGE

As mentioned above, we have to fetch each instruction, which means:

For JMP instructions, and JNE and JGE instructions when the test condition is true, we have to:

To do these actions, we could have another set of connections to memory and another adder. However, to simplify the hardware we can instead link the PC register to the existing ALU and through it to the memory. See figure 4.


  
Figure 4: MU0 + PC operations
\includegraphics[angle=270,width=15cm]{mu0_pcops.eps}

The STP instruction simply has to stop the next instruction being fetched.



Pete Jinks
1998-10-30