I'm having a problem getting a really simple program to run on an 18F4550. It just a couple of blinky LED's to verify the PIC is alive. I can program it fine and read back from the device but cannot get this program to work.

I'm running this on a 20mhz resonator using HS+PLL with PLL/5. MCLR is disabled, low voltage programming disabled. What am I missing?!

Define OSC 48
Define ADC_BITS 10 ' Set number of bits in result
Define ADC_CLOCK 3 ' Set clock source (3=rc)
Define ADC_SAMPLEUS 50 ' Set sampling time in uS
adval var word ' Create adval to store result

TRISA = %11111111 ' Set PORTA to all input
ADCON1 = %10001111 ' Set PORTA analog and right justify result
TRISB = %00000000
TRISC = %00000000

RCSTA.7 = 0

loop1:
Portc.6 = 1
pause 100
Portc.7 = 1
pause 200
portc.6 = 0
portc.7 = 0
pause 200
goto loop1
End