A micro-instruction format has micro-ops field which is divided into three subfields F1, F2, F3 each having seven distinct micro-operations, condition field CD for four status bits, branch field BR having four options used in conjunction with address field ADF. The address space is of 128 memory locations. The size of micro-instruction is :  

A micro-instruction format has micro-ops field which is divided into three subfields F1, F2, F3 each having seven distinct micro-operations, condition field CD for four status bits, branch field BR having four options used in conjunction with address field ADF. The address space is of 128 memory locations. The size of micro-instruction is :   Correct Answer 20 bits

The correct answer is option 2

The size of the micro-instruction is 20.

Explanation:

The given micro-instruction consists of the following three subfields - F1, F2, F3, one condition field - CD, one branch field - BR, one address field - ADF

Since each sub-field has seven distinct operations, a minimum of 3 bits is required to indicate all of them.

CD has four bits. So, 2 bits are sufficient to indicate all four status bits

BR has four options. So, 2 bits are required here.

To address all the 128 memory locations, 7 bits are required.

Total number of bits required for this micro-instruction = 3+3+3+2+2+7 = 20

F1

F2

F3

CD

BR

ADF

3 bits

3  bits

3 bits

2 bit

2 bits

7 bits

Related Questions