October 14, 2023
October 14, 2023
October 14, 2023
###### Algorithms
October 14, 2023
 Question 23

A micro instruction into be designed to specify

(a) none or one of the three micro operations of one kind and

(b) none or upto six micro operations of another kind

The minimum number of bits in the micro-instruction is

 A 9 B 5 C 8 D None of the above
Question 23 Explanation:
(a) This is a vertical microprogramming because at any given time atmost one micro-operations will be activated.
So, no. of bits required
⌈log2 (3)⌉ = 2
(b) This is a horizontal micro-programming because at any given time atmost six micro-operations will be activated.
So, no. of bits required = 6
So, total minimum no. of bits required = 6+2 = 8
Question 23 Explanation:
(a) This is a vertical microprogramming because at any given time atmost one micro-operations will be activated.
So, no. of bits required
⌈log2 (3)⌉ = 2
(b) This is a horizontal micro-programming because at any given time atmost six micro-operations will be activated.
So, no. of bits required = 6
So, total minimum no. of bits required = 6+2 = 8