basic opcode coding