Instruction size = 16 bits, hence total number of encodings will be = 216
Size of address field is 4 bit , so encodings will be = 24
This machine uses 0,1,2 address instructions.
34 2-address instructions will take = 34 * 24 * 24 encodings.
100 1-address instructions will take = 100 * 24 encodings
N 0-address instructions will take = (216 - (34 * 24 * 24 + 100 * 24 ))encodings = 55232 = which will also be the total 0 - address instructions.