The osccon register controls the frequency of the internal clock if you are using it. I am unfamiliar with assembly language but I think you simply need to use NOP commands/ pauses to correctly time how long a pin is on/off...