On Mon, 2 Jun 2003, John Nall wrote: > 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 Are they configured as digital I/Os rather than their default of analog inputs? Are they configured as outputs? -- John W. Temples, III -- 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