A micro instruction is to be designed to specify:
- none or one of the three micro operations of one kind and
- none or upto six micro operations of another kind
The minimum number of bits in the micro-instruction is:
View worked solution
Answer: C
To find the minimum number of bits in the micro-instruction, we analyze the two parts of the specification separately:
-
Part (a): None or one of the three micro-operations of one kind
Since we can select at most one micro-operation out of three, these operations are mutually exclusive. Including the "none" (no operation) case, there are a total of possible states:- State 0: No operation
- State 1: Micro-operation 1
- State 2: Micro-operation 2
- State 3: Micro-operation 3
-
Part (b): None or up to six micro-operations of another kind
The phrase "none or up to six" implies that any combination of these micro-operations can be executed simultaneously (compatible/horizontal microprogramming). Since they can be active independently, we must allocate control bit for each of the micro-operations.
Total minimum number of bits required:
Hence, the correct option is C.
Free practice · Your answers on this page are not saved.
