You're probably having a panic attack that is causing your asthma to act up. Smoking with asthma isn't the brightest thing, but if you don't smoke a lot, I don't think you'll get an attack.
I've only smoked like, 5 times my entire life. And I know it isn't a very good idea, so I try not to do it alot.