Added some functions to assist in opcode cb