You can also do your task in less line and it will take less of your code space.

Code:
CMCON = 7
ANSEL = 0 

Start: 

         GPIO=7
         PAUSE 500
         GPIO=0         
         PAUSE 500
         GOTO Start