Moz,
you have probaly just mistyped it
it should read CMCON not CMCOM
If you post your code we will certainly be able to help.
What does your hardware setup look like?
You say portbits are going high when the button is pressed.
That sound like you have a switch between Vdd and the PIC-pin.
This would mean the PIC-pin is floating when the switch is open.
(Or are there PullDown resistors?)
regards
Bookmarks