PIC16C505
For the PIC16C505, the register file is composed of 8
special function registers, 24 general purpose
registers, and 48 general purpose registers that may
be addressed using a banking scheme (Figure 4-2).
4.2
Data Memory Organization
Data memory is composed of registers, or bytes of
RAM. Therefore, data memory for a device is specified
by its register file. The register file is divided into two
functional groups: special function registers and
general purpose registers.
4.2.1
GENERAL PURPOSE REGISTER FILE
The general purpose register file is accessed either
directly or indirectly through the file select register FSR
(Section 4.8).
The special function registers include the TMR0
register, the Program Counter (PCL), the Status
Register, the I/O registers (ports), and the File Select
Register (FSR). In addition, special purpose registers
are used to control the I/O port configuration and
prescaler options.
The general purpose registers are used for data and
control information under command of the instructions.
FIGURE 4-2: PIC16C505 REGISTER FILE MAP
FSR<6:5>
00
01
10
11
File Address
00h
INDF(1)
TMR0
20h
40h
60h
01h
02h
03h
04h
05h
06h
PCL
Addresses map back to
addresses in Bank 0.
STATUS
FSR
OSCCAL
PORTB
PORTC
07h
08h
General
Purpose
Registers
2Fh
30h
4Fh
50h
6Fh
0Fh
70h
10h
1Fh
General
Purpose
Registers
General
Purpose
Registers
General
Purpose
Registers
General
Purpose
Registers
3Fh
5Fh
7Fh
Bank 1
Bank 2
Bank 3
Bank 0
Note 1: Not a physical register.
DS40192B-page 12
Preliminary
1998 Microchip Technology Inc.