Assembler with programmable instruction sets