NEW YORK, Feb. 22 -- Wall Street turned in a mixed performance Thursday after Iran refused to suspend uranium enrichment, which tempered a tech rally spurred by a strong outlook from Analog Devices.

The Dow Jones industrial average fell 52.39, or 0.41 percent, to 12,686.02. The Standard & Poor's 500-stock index was down 1.25, or 0.09 percent, at 1456.38. The Nasdaq rose 6.52, or 0.26 percent, to 2524.94.

Investors were uneasy after a U.N. official said Iran had not agreed to demands that it suspend its nuclear ambitions. Also hurting stocks was a U.S. government report that showed a larger-than-expected drop in gasoline and heating oil inventories, causing crude prices to rise to more than $60 a barrel.

This chilled the mood among investors who at first were encouraged by upbeat corporate announcements and a rally in foreign stock markets. Strength among semiconductor stocks drove the Nasdaq to six-year highs.

Analog Devices, which gave an optimistic outlook about improving business conditions, drove chip stocks. Investors were also encouraged by takeover activity, as Whole Foods Market said it would buy rival Wild Oats Markets in a deal worth $565 million.

The market had little reaction to a Labor Department report that said fewer Americans applied for unemployment benefits last week after filings jumped in the prior week by the most since 2005. Jobless claims fell to 332,000.

MoversAnalog Devicesrose $3.48, to $36.80.

Whole Foodsgained $6.41, to $52.11.

Wild Oatsincreased $2.69, to $18.41.

Applerose 31 cents, to $89.51, after making a deal with Cisco allows Apple to use the iPhone name for its new cellphone.

Ciscorose 2 cents, to $27.40.

Toll Brothersfell 93 cents, to $31.93, after the builder of luxury homes said first-quarter profit tumbled 67 percent.

Pulte Homesfell 35 cents, to $31.59.

KB Hometumbled $1.17, to $52.56.

Googlefell 1 cent, to $475.85, after unveiling a suite of Web-based products for word processing, e-mail, spread sheets and other programs.

Microsoftrose 4 cents, to $29.39.

J.C. Penneyfell $2.96, to $83.39.