HeadrickBones 0 Newbie Poster

Can someone explain the INC in more detail!

I know it increments a register by 1.
How would you increment a register from one number till it
equals another.

example: CX from count 0000h until equals number placedd in DX
(assume DX is not 0)

Thanks