Shares of

Restoration Hardware

( RSTO) were among the

Nasdaq's

winners Tuesday, jumping 18% after the home-furnishings retailer swung to an unexpected second-quarter profit.

For the period ended July 29, the company earned $236,000, or a penny a share, on sales of $179.3 million. Analysts expected a loss of 5 cents a share and sales of $171.2 million. During the year-earlier period, the company recorded a loss of $2.5 million, or 7 cents a share, on sales of $144.8 million. "We are proud to announce that for the first time in the company's history, we were profitable outside of the fourth quarter," the retailer said.

Looking ahead, Restoration Hardware predicts a third-quarter loss of 13 cents to 19 cents a share on sales growth of 17% to 20%. Analysts target a loss of 13 cents a share, with sales of $153.9 million. Shares were trading up $1.08 to $7.22.

Sanderson Farms

(SAFM) - Get Report

shot up 15% after the poultry producer posted third-quarter results that topped expectations. For the period ended July 31, the company earned $3.3 million, or 16 cents a share, on revenue of $281 million. The results included an income tax benefit of $2.1 million, or 10 cents a share. Analysts expected a loss of 5 cents a share on revenue of $241.9 million. During the year-earlier period, the company earned $24 million, or $1.19 a share, on revenue of $277 million. "Our performance during the third quarter of fiscal 2006 reflects improved market conditions during June and July compared to the first seven months of the year," the company said.

Sanderson Farms now expects that 2006 grain costs that will be about $8 million to $10 million higher than last year, slightly better than its previous estimate. Shares were trading up $3.84 to $29.94.

Shares of

Steel Dynamics

(STLD) - Get Report

climbed 4% after the steel company affirmed its third-quarter earnings projection and announced a buyback plan of up to 5 million shares. The company continues to forecast third-quarter earnings of $2.05 to $2.15 a share. For the fourth quarter, the company sees earnings of $2.05 to $2.15 a share as well. Analysts project earnings of $2.07 a share for the third quarter and $1.87 a share for the fourth quarter.

The company's buyback plan, meanwhile, represents about 10% of its outstanding shares. "This buyback program -- our third in three years -- reflects Steel Dynamics' ongoing commitment to deliver tangible value to our stockholders as we pursue our growth strategy," the company said. Shares were trading up $1.76 to $51.80.

Fair Isaac

( FIC) rose modestly after the provider of credit scoring systems announced a $250 million stock buyback program. The new buyback replaces the company's previous repurchase plan, which authorized it to buy up to $200 million in stock. Fair Isaac had repurchased some $199.7 million in stock under the previous buyback. Shares were up 15 cents to $33.92.

Shares of

First Horizon

(FHN) - Get Report

fell 4% after the financial services company said that its third-quarter results would be hurt by a weakening mortgage environment. As a result, the company expects third-quarter pretax earnings to be about $35 million lower than the second quarter.

"Mortgage banking operating earnings for the first two months of this quarter have been unfavorably impacted by lower gain on sale margins, further reductions in mortgage production and increased costs to hedge the servicing risks," First Horizon said. The company also said it expects to record a $21 million charge related to the settlement of a class-action lawsuit. Shares were down $1.32 to $38.73.

Novelis

(NVL)

shares shed 3% after the aluminum can company said it replaced its CEO. The company said Chairman William T. Monahan will serve as interim CEO until a successor is in place for Brian Sturgell. Novelis also formed an office of the chairman, consisting of Monahan and directors Clarence J. Chandran and Edward A. Blechschmidt.

"The past 18 months have been difficult for Novelis," said Monahan. "During this period, we have had to address significant challenges, including the impact of unprecedented increases in metal prices and an extensive financial review and restatement process." Novelis shares were down 53 cents to $19.13.

NYSE

volume leaders included

Lucent Technologies

( LU), up 2 cents to $2.28;

DirecTV

(DTV)

, up 3 cents to $18.53;

Ford

(F) - Get Report

, unchanged at $8.05;

Exxon Mobil

(XOM) - Get Report

, down 66 cents to $69.44;

Pfizer

(PFE) - Get Report

, up 4 cents to $27.58;

Sprint Nextel

(S) - Get Report

, up 12 cents to $16.61; and

Citigroup

(C) - Get Report

, down 8 cents to $49.04.

Nasdaq volume leaders included

Intel

(INTC) - Get Report

, up 1 cent to $19.39;

JDSU

(JDSU)

, down 5 cents to $2.68;

Microsoft

(MSFT) - Get Report

, down 24 cents to $25.71;

Apple

(AAPL) - Get Report

, down $1.31 to $65.67;

Cisco

(CSCO) - Get Report

, down 9 cents to $21.32;

Viropharma

(VPHM)

, up $1.33 to $12.50;

Applied Materials

(AMAT) - Get Report

, up 13 cents to $16.46; and

Sun Microsystems

(SUNW) - Get Report

, down 3 cents to $4.89.