>I have problem bcf,bsf,btfss,btfsc. The problem is that I want to have > a variable bit position in these commands. > ex bsf PORTA,num ; num is 0,1,2 You cannot have a variable bit position in these commands. The bit field is a fixed value only (it is hard coded into the command byte). Presumably 'num' in the above example is the name of a variable. MPASM is giving you an error because the bit field can only have a constant value in the range 0..7, and the constant value of 'num' is the address of the allocated data byte in memory. ___Bob