opcode (3 bit) |
Address(8 bit) |
Address(8 bit) |
total no. of instructions = 2^3 = 8
#f two address instructions in use =6
Free opcode = 8-6
#f one address instructions = 2*2^8 =512
#f one address instructions in use = k
Free opcode = 512-k
#f zero address instructions = (512-k)*2^8
(512-k)*2^8 =65536
=> k=256