The PIC16C7X family have 2 Banks of registers. Access to the Register Banks is determined by the STATUS Bank select bits. RP0 STATUS<5> where BANK0 is selected with RP0 = 0 and BANK1 is selected when RP0= 1. Direct and Indirect register access is demonstrated.
| Filename | Version | Description |
| tut7.pjt | 1.0 | MPLAB Project |
| tut7.asm | 1.0 | Assembler code |
| tut7.hex | 1.0 | Precompiled HEX |
| tut7.lst | 1.0 | Precompiled LST |
| tut7.vbb | 1.0 | Virtual Breadboard simulation |
Open tut7.vbb and press RUN.
|
TRISB/PORTB | |
|
Register Banking | |
|
Indirect Addressing | |
|
Direct Addressing |
Components Used