That is exactly what I want them to do. But I have never seen the C flag raise when I change a PORTC input regardless of where I make the change. So if it works for you, then there must be something wrong with my software. Should I uninstall MPLAB & reinstall it in the root directory.