Tony Nixon wrote: > I would try to avoid multiple consecutive writes to the TRIS register > using BSF intructions. > Try > movlw b'11100001' > movwf TRISA Indeed, even safer, movlw b'11100001' tris PORTA .. avoids the need to use the bank select bits at all. -- Cheers, Paul B.