Fixed the definition of op_reg enum.