Move opcode helper functions to a separate file.