Tutorial 7: Using Register Banking

Demonstrates using STATUS Banking Bits to access registers in different register banks.

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

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

Running the Simulation

Open tut7.vbb and press RUN.

Code Walk Through

Features Demonstrated

TRISC/PORTC

Register Banking

Mapped Registers

Indirect Addressing

Components Used

PIC16F628

LED8