Using MPLAB with the simulator, I find that if I am WATCHing PORTA, when a command of "bsf PORTA,RA0" is executed it does not cause PORTA to change in the watch window. It would be nice if it did, but I figured that watching LATA would let me see the latched bits, so no problem. However....the following code, running with the simulator, will set the watched LATA to a value of 4. I think it should be a value of 7. (I feel absolutely certain that someone will gleefully shout RFTM! on this, but I have read the Fine Manual and don't see it.) This is with an 18F452, if that makes any difference. . . clrf PORTA bsf PORTA,RA0 bsf PORTA,RA1 bsf PORTA,RA2 . . John -- http://www.piclist.com hint: The list server can filter out subtopics (like ads or off topics) for you. See http://www.piclist.com/#topics