Tutorial 8: Using Register Banking

Demonstrates using STATUS Banking Bits to access registers in different register banks. It also demonstrates using the indirect address mode and higher register mapped banking.

Download FEATURE5X_Tutorial8.zip and unzip into folder <your path>\Tutorial 8

Filename Version Description
tut8.pjt 1.0 MPLAB Project
tut8.asm 1.0 PIC16C5X Assembler code
tut8.hex 1.0 Precompiled HEX
tut8.lst 1.0 Precompiled LST
tut8.vbb 1.0 Virtual Breadboard simulation

Running the Simulation

Open tut8.vbb and press RUN.

Code Walk Through

Features Demonstrated

TRISC/PORTC

Register Banking

Mapped Registers

Indirect Addressing

Components Used

PIC16C57

LED8