Alright, never mind. I switched to PortB instead of PortA and all is good. I guess I just have a PIC with a messed up PortA.