00:01
So, in this question, if there are k two operand instructions, each instruction need two operand address which would be two multiplied by six bits is equal to twelve bits in total for operand address.
00:13
So, for zero operand instruction, we don't need two operand address.
00:19
So, they won't contribute to operand address field.
00:22
So, now the total instruction length is sixteen bits and subtracting the bit used for operand address, we are left with four bits of the op code and any other field.
00:33
Since we know that there are l zeroes operand instruction, so we can use these four bits to represent the op code for one operand instruction.
00:43
So, therefore, the maximum number of one operand instruction is two to the power four, which is equal to sixteen.
00:50
The instruction format would something like this op code four bits and operand one is six bits, operand two is six bits and in this way you can support the k two operand instruction l zero operand instruction and still have room for sixteen one operand instruction...