See each instruction is require 5 bits for opcode ,two 5 bits for source registers and one 5 bit for destination register so making a total of 20 bits which means we need 3 bytes for every instruction now program length is of 50 instructions making a total of 50*3=150 bytes