Microprogrammed Control                                                                                                                        Print this page
<< Previous |  First Last |  Next >>       
PCout
MARin
Read
Clear Y
Set Carry to ALU
Add
Zin
Zout
PCin
WMFC
MDRout
IRin

The control word for the first three steps of the above two instruction are : ( which are the fetch cycle of each instruction as follows ):

Step1
1
1
1
1
1
1
1
0
0
0
0
0
- - -
Step2
0
0
0
0
0
0
0
1
1
1
0
0
- - -
Step3
0
0
0
0
0
0
0
0
0
0
1
1
- - -

We are storing this three CW in memory location 0, 1 and 2. Each instruction starts from memory location 0. After executing upto third step, i.e., the contents of microprogram memory location 2, this control word stores the instruction in IR. The starting address generator circuit now calculate the starting address of the microprogram for the instruction which is available in IR.

Consider that the microprogram for add instruction is stored from memory location 50 of microprogram memory. So the partial contents from memory location 50 are as follows :                  

Location 50
0
1
1
0
0
0
0
0
0
0
0
0
- -
- -
- -
    51
0
0
0
0
0
0
0
0
0
1
0
0
- -
- -
- -
    and so on . . . .                          
<< Previous |  First |  Last |  Next >>