Having done this a couple times I can say that your passport will be stamped twice for both entry and exit. In general, the two immigration checks - Argentinian and Uruguayan - are back to back so the likelihood of missing out on a stamp is fairly low.