Markets | Wed May 7, 2014 4:53pm EDT

Dow, S&P gain on Yellen; Nasdaq ends down for second day