It can't be interrupt as you don't use any in your code.

As Joe said, check you hardware. Also make sure your config fuses are set for HS_OSC and LVP_OFF. Same goes for MCLR pin.