Margin & Assignment for Covered calls

Ques: If I have 500 shares of Reliance in my account. If I do a Covered calls for Reliance. I see that the Margin Requirement is taking from cash balance & not from the Reliance shares in my account. Also if the call goes ITM (In the Money), how will the assignment happen? Anybody can help?