1. Control Word Size:
- In horizontal microprogramming, each control signal needs a dedicated bit in the control word.
- 125 control signals + 10 bits for branch control logic (single address field) = 135 bits
2. Control Address Register Size:
- The control address register (CAR) holds the address of the next microinstruction to be executed.
- The number of microinstructions is equal to the number of clock cycles per instruction * the number of instructions.
- Number of microinstructions = 7 clock cycles/instruction * 140 instructions = 980 microinstructions
- Bits needed to address 980 microinstructions = log2(980) ≈ 9.9 bits, but we need at least 10 bits to represent all microinstructions.
Therefore, the minimum size of the control word is 135 bits, and the minimum size of the control address register is 10 bits.