Microsoft helped technology companies recover from a week of losses. The biotech sector took another tumble, and the maker of "Candy Crush Saga" fell for the third straight day after its market debut.
The Standard & Poor's 500 index rose eight points, or 0.5 per cent, to close at 1,857 Friday.
The Dow Jones industrial average rose 58 points, or 0.4 per cent, to 16,323 and the Nasdaq composite rose four points, or 0.1 per cent, to 4,155.
CBS Outdoor rose 5 per cent on its first day of trading. The billboard company is splitting off from CBS.
Bond prices fell. The yield on the 10-year Treasury note rose to 2.72 per cent.