> bsf STATUS,RP0 > clrf PORTC ;portc set output > movlw b'00000001' > movwf PORTA > movlw B'00000110';.6--magic number > movwf ADCON1 ;??? ;TURN OFF ADC > bcf STATUS,RP0 Shouldn't you really be doing this: bsf STATUS, RP0 clrf TRISC movlw b'00000001' movwf TRISA movlw b'00000110' movwf ADCON1 bcf STATUS, RP0 Kieran