Hi, I'm a beginner in programming of PIC, somebody can it come to my help? Here my problem: I want to test the contents of an indexed table of the form flag(Y), Y being a variable Example: The variable Y=2 How to test bit 2 of flag ? I thought making : y equ H' 11 ' movlw 2 movwf y btfss flag, Y this instruction does not give satisfaction because it uses the value litteral of Y (H'11') and not its contents.