> >Also - I do not use the tris reg. Instead use the fsr and indf reg, eg > > movlw trisa ;get the address of the tris reg into w > movwf fsr ;store this address at the indirect setup reg > > movlw 00001111b ;set the io bits and store them at > movwf indf ;the indirect register which is pointing to trisa > >This method stops having to use page 0,1 bit setups and stops compiler >messages That's very clever! I always assumed that register addresses would be formed the same way when using fsr. (taking the top bit from RP0)