in general... yes... if the dollar crashes, the US dollar value of US stocks will go up in value.
if i had the choice of holding US dollars, or shares in the DOW for the next 5 years, i'd take the stocks over the paper money.
in the event of hyperinflation, i think a lot of stocks will go bankrupt, and go to zero regardless. some of these stocks will be worth nothing.
but many stocks, espeically big multi-national companies, will go up measured in dollars.
like in Zimbabwe, the stock market was going up by 33% every single day, but the currency would decline by 50% everyday... therefore, you were better off in Zimbabwe stocks than you were in Zimbabwe dollars. but you were much better off in foreign currencies and foreign stocks (or gold of course) than you were in Zimbabwe stocks.
so even though the dollar value of US stocks will go up during hyperinflation, the dollar value of foreign stocks will go up even more... so you're much better off in foreign stocks than US stocks.
but i expect the inflation to be so bad, that US stocks will go up. this will be very confusing at first. the DOW might rally back up to 14,000... then mainstream economists will think we are in a recovery. others will think the market is headed lower since the fundamentals for the economy have not changed. then, the market will go up to 20,000 or 30,000... and by the time the DOW makes it to 50,000.... i think people might start to figure out that there is massive inflation, and that is the only reason causing stocks to rise.