Strange issue - sound duration changes with register status update.
These registers somehow interfere with PAUSEUS statement?

Code:
z=0
takra:
hpwm 2,127,880+Z
for x=1 to 1000 step 2
CCP2CON.4 = X.0
CCP2CON.5 = X.1
CCPR2L = X>>2
pauseus 1800
next
pause 300
Z=Z+60
goto takra
Some sounds here sound 2-3 times longer than others!