U.S. stocks rose on Monday as energy shares climbed along with the price of oil, and Microsoft Corp boosted the tech sector after several brokerages raised their price targets on the company.

Dow components Exxon Mobil Corp and Chevron Corp, both expected to report results later in the week, rose 1.5 percent and 2.2 percent, respectively.

The S&P energy index <.GSPE> gained 2 percent, benefiting as crude oil futures rose 1.1 percent to above $81 a barrel and the U.S. dollar slipped.

Microsoft Corp climbed 3 percent at $28.87. Semiconductor stocks also buoyed the sector after Marvell Technology Group Ltd raised its third-quarter revenue outlook. Its stock was up 4.6 percent at $15.26.

Tech(s) have the wind at their backs right now, said Alan Lancz, president at Alan B. Lancz & Associates Inc in Toledo, Ohio.

If you get an economic recovery like analysts are projecting, that's only going to bode even better for expectations. The momentum is definitely in areas like tech and even some other areas where we've seen strength, like materials.

Corning Inc added 0.9 percent to $15.79 after the specialty glass maker reported a better-than-expected profit and forecast the market for glass for flat-screen televisions to grow by 15 percent next year.

The Dow Jones industrial average <.DJI> gained 89.93 points, or 0.90 percent, to 10,062.11. The Standard & Poor's 500 Index <.SPX> gained 11.12 points, or 1.03 percent, to 1,090.72. The Nasdaq Composite Index <.IXIC> gained 27.91 points, or 1.30 percent, to 2,182.38.

Declining stocks included Fifth Third Bancorp and SunTrust Banks Inc , which fell after veteran banking analyst Richard Bove said many regional banks may not show a profit until 2011 and downgraded both to sell from neutral. Fifth Third fell 5.1 percent to $9.81 and SunTrust lost 3.7 percent to $20.21.

(Editing by Padraic Cassidy)