From PIC16F87X Data Sheet DS30292C-page 135, section 13.0 INSTRUCTION SET SUMMARY
Note: To maintain upward compatibility with
future PIC16F87X products, do not use the
OPTION and TRIS instructions.TRISA= {value}Patient: Doctor, it hurts when I do this.
Doctor: Then don’t do that!
TRISB= {value}
TRISC= {value}
TRISD= {value}
TRISE= {value}
Are all valid PBP statements and may/should be used to set TRIS directly (as they will take care of any required bank setting, ect).
Bookmarks