Dominic Gualtieri wrote: > I am basically new to Pic`s and I am having trouble understanding a > line in some code I > came across. Any help would be appreciated. Below is the code: > > movlw 0D0 > hex value is not right it should be 0xD0 or D0H or H'D0'this line means load hex D0 in W register > btfss portc,w --Is this line checking for a specific bit, and > this line is wrong but it will work becouse of w = 0same as btfss portc,0 you are testing bit 0 on portc it will skip if it is clear > if so which one? > > Dominic Andre