how convert a string to an instruction.