Many years ago (too many!!), I did a Comparator tutorial on the (then) piclist, a link to the archive where it can be found is here...
http://list.picbasic.com/forum/messa...tml?1020960642
Although it was for the 16F628, the principle is exactly the same... on the 12F675 you will need to remember to disable the ADC's.
Bookmarks