Hi, Muddy
movlw 7 ;COMP off
movwf CMCON
> That means
CMCON = 7
clrf ADCON0 ;ADC off "
> means
ADCON0 = 0
bsf STATUS,RP0
clrf ANSEL ;All pins are DIGITAL
> means
ANSEL = 0
even kangaroos understand that !!!
Alain
************************************************** ***********************
Why insist on using 32 Bits when you're not even able to deal with the first 8 ones ??? ehhhhhh ...
************************************************** ***********************
IF there is the word "Problem" in your question ...
certainly the answer is " RTFM " or " RTFDataSheet " !!!
*****************************************
Bookmarks