Stocks fell flat on Monday, giving up earlier gains in the session, as new demand concerns for the semiconductor industry weighed on Wall Street. The Dow Jones Industrial Average rose slightly higher, while the S&P 500 Index and Nasdaq Composite slipped lower.

Here's how the market settled on Monday:

S&P 500 Index (SPY  ): -0.12% or -5.13 points to 4,140.06

Dow Jones Industrial Average (DIA  ): +0.09% or +29.07 points to 32,832.54

Nasdaq Composite Index (QQQ  ): -0.10% or -13.10 points to 12,644.46

The spotlight was on Nvidia (NVDA  ) on Monday after the chipmaker forecasted weaker-than-expected revenue for the second quarter. The company expects Q2 revenue to total $6.7 billion on weakening gaming card sales, lower than the previously guided $8.1 billion.

The warning pulled down rival stocks like Advanced Micro Devices (AMD  ) and Broadcom (AVGO  ). Nvidia is scheduled to delivered full Q2 results later this month.

Elsewhere, Bed Bath & Beyond (BBBY  ), GameStop (GME  ) and AMC Entertainment (AMC  ) shares surged on Monday as meme stock investors poured into the stocks without any apparent reason behind the moves. The stocks closed up nearly 40%, 9% and 8%, respectively.

During the session, Bed Bath & Beyond shares soared as much as 63%, with the company posting its biggest one-day gain in more than a year.

Monday's moves follow a weekly rise for the S&P 500 and the Nasdaq Composite after a surprisingly stronger-than-expected U.S. jobs report for July eased some recession fears. Last month, the U.S. economy added 528,000 jobs, or twice as many jobs as expected. However, the report stoked some fears that the Federal Reserve may continue its aggressive interest rate hikes to combat inflation, as the resilient labor market shows the economy can handle more rate hikes.

Investors are bracing for two big inflation reports due out later this week for July--the Consumer Price Index (CPI) and the Producer Price Index (PPI).

The closely watched CPI reading for July, slated for Wednesday, is expected to rise by 8.7% annually, according to economists surveys by Bloomberg, slightly cooling from June's print of 9.1%. On a month-to-month basis, CPI is expected to increase by 0.2%, up from 1.3% in June.

The earnings season is also winding down, but more big reports are still scheduled for the week ahead, including companies like Disney (DIS  ), Coinbase (COIN  ) and Tyson Foods (TSN  ).