<p>US stocks rose as investors put aside concerns over the latest flare-up between the US and Iran to pile on technology stocks after recent declines spurred dip buying.</p>