// Subroutine Declarations #include // Subroutines #asm org 0x0000 clrf 3 movwf 0 movlw 0x0A goto start #endasm // Main Routine void main(void) { TRISA = 0; TRISB = 0; TRISC = 0; ADCON1 = 6; PORTA = 1; PORTB = 2; PORTC = 3; while(1); }