Walmart Inc WMT.N shares rose 5.9% after the world's largest retailer also forecast a smaller drop in full-year profit than previously projected. By Bansari Mayur Kamdar and Anisha Sircar Aug 16 (Reuters) - Strong earnings from Walmart and Home Depot helped drive gains in the Dow Jones and the S&P 500 indexes on Tuesday. Better-than-expected earnings from corporate America are helping U.S. equities recoup losses from a recent inflation-induced rout, with the tech-heavy Nasdaq index bouncing nearly 24% off its mid-June lows.