movlw H'80' ;; next channel addwf ADCON0,f movlw H'80' subwf ADCON0,f ;; previous but not below 0th movlw H'C7' andwf ADCON0,f ;; 0th movlw H'38' iorwf ADCON0,f ;; 7th Peter (who has not tried this since he is just starting to consider 877s). -- http://www.piclist.com hint: The PICList is archived three different ways. See http://www.piclist.com/#archives for details.