It sounds like you are writing to a port that is configured as analogue. Which chip are you using? Do you turn off the analogue function CMCON=7 or ANSEL=0 etc.
i'm using, for now, the pic12f675
i just tried clearing ANSEL, and still same result,
right now i'm testing my code in a simulator so i can monitor anything if i have to