The TRIS Command in question is an assembly level command and not a PBP command.
With the 877, if you write “TRISA=7”, for example, you are not using the TRIS command but loading the TRISA register directly. PBP takes care of all these issue for you so no worries.
ASM Equivalent of what TRISA=7 does
MOVLW 007h
MOVWF TRISA
ASM Equivalent using TRIS command - PBP does not do this (and this may not be supported on the 877?)
MOVLW 007h
TRIS PORTA
Paul Borgmeier
Salt Lake City, UT
USA
__________________
Bookmarks