07/19/2013 04:21 EDT | Updated 09/18/2013 05:12 EDT

Tech slump pulls stocks mostly lower after weak results from Google, Microsoft; S&P inches up

NEW YORK, N.Y. - Technology stocks are slumping on Wall Street after weak results from Microsoft of Google, but the rest of the market is closing out a decent week.

The Standard & Poor's 500 managed a small gain, enough for the index to set another record high.

The S&P edged up two points, or 0.2 per cent, to 1,692. It rose 0.7 per cent for the week.

The Dow Jones industrial average slipped five points, 0.03 per cent, to 15,543, held back by losses in Microsoft and IBM.

The Nasdaq fell 23 points, 0.7 per cent, to 3,587. The Nasdaq was the only major index to lose ground for the week.

Microsoft plunged 11 per cent after writing off $900 million on its tablet computer.

Slightly more stocks rose than fell on the New York Stock Exchange.