ABSTRACT

The assembler will warn you that TRISB is not in register bank 0. If you want to force the assembler to stop warning you, you could write:

or you might write:

It is a good idea to clear the RPO bit after you store 7F in TRISB so that future reg­ ister accesses will be in page 0 (even though for this program it doesn’t really matter).