Paul, looking at the ASM, bitwise manipulation of the port is handled by BSF/BCF commands. For example.
PORTA.3 = 1 results in: BSF PORTA, 003h
PORTA.2 = 0 results in: BCF PORTA, 002h
and
PORTA.1 = DCD_temp.1 results in:
Are you saying that even these bitwise commands, when actually implemented by the PIC, will write to the whole port?Code:btfsc _DCD_temp, 001h bsf PORTA, 001h btfss _DCD_temp, 001h bcf PORTA, 001h
Steve
Bookmarks