Microprogrammed Control                                                                                                                        Print this page
<< Previous |  First Last |  Next >>       
    1. When a new instruction is loaded into the IR, the PC is loaded with the starting address of the microprogram for that instruction.
    2. When a branch microinstruction is encountered, and the branch condition is satisfied, the PC is loaded with the branch address.

Let us examine the contents of microprogram memory and how the microprogram of each instruction is stored or organized in microprogram memory. Consider the two example that are used in our previous lecture . First example is the control sequence for execution of the instruction "Add contents of memory location addressed in memory direct mode to register R1".

Steps

Actions

1.
 PCout,  MARin,  Read,  Clear  Y,  Set carry-in to ALU,  Add, Zin
2.
 Zout,  PCin,   Wait  For MFC
3.
 MDRout,  IRin
4.
 Address-field-of-IRout, MARin,  Read
5.
 R1out,  Yin,  Wait for MFC
6.
 MDRout,  Add,  Zin
7.
 Zout,  R1in
8.
 END
<< Previous |  First |  Last |  Next >>