Explanation : L = w ϵ (a, b)* |na(w) = multiple of 2 but not 3.
L1 = {na mod 2 = 0} ⇒ need 2 states
L2 = {na mod 3 ≠ 0} ⇒ need 3 states
|L1 × L2| = (2 × 3) = 6 states.
Minimal DFA design ⇒
∴ No. of states in min. DFA = 6 states.
Explanation :
⇒ # of instruction possible = 24 = 16
∴ No. of free opcodes = 16 – x
Let x is number of R-type instruction exist
∴ No. of I-type instruction possible = (16 – x) * 22
8 = 64 – 4x
4x = 64 – 8 = 56
x = 14