U.S. stocks largely rose Monday, with the Nasdaq and chipmakers leading the gains as investors sought bargains after Friday's selloff. Relief over Iran and Israel halting attacks also boosted sentiment.