thanks guys, ANSELH=0 fix the code, now is working. sorry but I AM new to micro programming.