Question

3) Given 16-bit instructions, is it possible to use expanding opcodes to allow the following to be encoded assuming we have a total of 32 registers? If so, show the encoding. If not, explain why it is not possible. 60 instructions with 2 register operands 30 instructions with 1 register operand 3 instructions with one 10-bit address 26 instructions with zero operands

Fig: 1

Fig: 2

Fig: 3

Fig: 4

Fig: 5