Jon Cryer has denied Demi Moore took his virginity.

The 56-year-old actress claimed in her new autobiography 'Inside Out' that she felt bad that she was the first person the 'Supergirl' star had sex with after they got it on while filming their 1984 movie 'No Small Affair'.

But, although he has admitted he was shocked by the 'Ghost' star's advanced skills in the bedroom, he actually lost his virginity when he was in high school.

Taking to his Twitter account, the 54-year-old actor said: ''Well, the good thing about this is she doesn't have to feel bad about it anymore, because while I'm sure she was totally justified making that assumption based on my my skill level (and the stunned look on my face at the time), I had actually lost my virginity in high school.

''But she's right the other part, I was over the moon for her during a very troubled time in her life. I have nothing but affection for her and not a regret in the world. (sic)''

Demi opened up about their relationship in her explosive book and admitted that she wasn't in a good place when they were together because of her addiction issues.

She wrote: ''I played a young nightclub singer, and Jon Cryer played the nineteen-year-old photographer who falls in love with her, in his first movie role. Jon fell for me in real life, too, and lost his virginity to me while we were making that movie.

''It pains me to think of how callous I was with his feelings -- that I stole what could have been such an important and beautiful moment from him.

''I started to do some seriously self-destructive things during that period. I remember waking up not knowing where I was, thinking, 'Am I supposed to be at work in an hour?' and then having to call someone and ask to be picked up. It's all a blur.''

Demi's book has also detailed her relationships with Ashton Kutcher and Bruce Willis.