NEW YORK, NEW YORK - MARCH 08: People walk along Wall Street near the New York Stock Exchange (NYSE) on March 08, 2022 in New York City. The Dow was up slightly in morning trading as the Russian invasion of Ukraine continues to unsettle global markets. (Photo by Spencer Platt/Getty Images)

(AP) – Major stock indexes shook off an early slump and ended with meager gains on Wall Street Tuesday as worries about the economy continue to weigh on markets. Oil prices slumped, bringing the price of U.S. crude back below $100 a barrel for the first time since early May. Tech stocks staged a turnaround and ended higher. The S&P 500 eked out a gain of 0.2% and the tech-heavy Nasdaq rose 1.7%. The Dow Jones Industrial Average remained in the red, losing 0.4%. The yield on the 10-year Treasury note, which helps set mortgage rates, fell to 2.82%.