Last night, President Obama spoke with CNBC's Steve Liesman, and their first topic of conversation was the issue of tax inversions, or mergers where U.S.-based companies acquire foreign companies and move their tax base overseas to enjoy lower rates.

Obama said this strategy, among other things, "undermines people's confidence in how companies are thinking about their responsibilities to the country as a whole."

Cuban took his rhetoric a step further: he said he's selling stock in companies that move for tax reasons.

On Twitter this morning, Cuban fired off a series of tweets about how companies that move their tax base overseas to avoid paying taxes force existing taxpayers to make it up elsewhere.

If I own stock in your company and you move offshore for tax reasons I'm selling your stock. There are enough investment choices here
— Mark Cuban (@mcuban) July 25, 2014

If you talk to me as a shareholder and ask me to accept a higher PE so you can save jobs I'm open to it. The risk doesn't leave the system
— Mark Cuban (@mcuban) July 25, 2014