Brian Gracia wrote: > start movlw 0x00 > tris portb > clrf portb ;outputs to LO > If I understand this code correctly it sets all of the pins to output. > Thats fine, then it tells them to go active low. It is really more sensible to clear the port first, *then* TRIS it to make them outputs. They *are* specified as "random" on switch-on, and are unaffected by resets. -- Cheers, Paul B.