Use of basic functions to split command into opcode and parameter