Hi, Jerson
PORTB.0 = 1 : Led do not work
HIGH PORTB.0 : Led works fine
Hi, Ski
I verified the ASM ... doesn't read anything at all ,here.
Code:
PORTB.0 = BSF PORTB,0
HIGH PORTB.0 = BSF PORTB,0
BSF STATUS, 5
BCF PORTB,0
**Next ASM command** MOVLW 0xC8 ( Pause duration )
BCF STATUS, 5
so, the only "surprising thing" is it writes PAUSE duration in W while addressing page 1 ... but I do not think it should cause any trouble ... I suppose it works like that not to toggle Page twice, if staying on page 1 !
I'll try the program with XTAL clock ( it's the first time I use INTRC with this snippet ...) ever has worked well till yesterday ... just to see.
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