A cashless exercise is taxed as ordinary income. The amount taxed is the difference between the strike price (the price you can purchase the stock for) and the price the shares are sold for.