It’s not the pauses, the loop never ends:
Code:
SOFTPWM:
code
GOTO SOFTPWM
Only your main program can do that.
This ISR doesn’t allow your main program to ever run once it’s called.