there is a big problem with mixing assembly with PBP, many times when we use PBP we have no idea which registers PBP changes so when you do assembly that uses those registers things go wacky. For example if you use HPWM and want to use TMR2 for a counter driven interrupt things can screw up.