Ok Luxor

Bingo : You simply forgot to write the chip A/D relevant registers config and define I/Os for your chip ...

Code:
DEFINE OSC 4             ' Default Osc freq
DEFINE OSCCAL_1K 1   ' retrive the trimming value

CMCON		= 7 ' disable Analog comparators

GPIO 		= %00000000 'All pins LOW at startup

TRISIO 		=%00101000  'set GPIO3 & GPIO5 as inputs
so, add those lines to the top of code.

AND do not forget to connect the RESET PIN ...

a look to the 629 Datasheet will help !

Alain