PIC16F506 Microchip Technology, PIC16F506 Datasheet - Page 18

no-image

PIC16F506

Manufacturer Part Number
PIC16F506
Description
(PIC12F510 / PIC16F506) 8-Bit Flash Microcontroller
Manufacturer
Microchip Technology
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC16F506-I/P
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Part Number:
PIC16F506-I/SL
Manufacturer:
MICROCHIP
Quantity:
16 700
Part Number:
PIC16F506-I/SL
Manufacturer:
Microchip Technology
Quantity:
33 360
Part Number:
PIC16F506-I/SL
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Part Number:
PIC16F506-I/SL
0
Part Number:
PIC16F506-I/ST
Manufacturer:
MICROCHIP
Quantity:
2 000
Part Number:
PIC16F506-I/ST
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Part Number:
PIC16F506-I/ST
0
Company:
Part Number:
PIC16F506-I/ST
Quantity:
8 000
Part Number:
PIC16F506T-I/SL
Manufacturer:
ROHM
Quantity:
400 000
Part Number:
PIC16F506T-I/SL
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Part Number:
PIC16F506T-I/ST
Manufacturer:
ZARLINK
Quantity:
320
PIC12F510/16F506
4.2
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 (SFR)
and General Purpose Registers (GPR).
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 Function 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.
For the PIC12F510, the register file is composed of 10
Special Function Registers, 6 General Purpose
Registers and 32 General Purpose Registers accessed
by banking (see Figure 4-2).
For the PIC16F506, the register file is composed of 13
Special Function Registers, 3 General Purpose
Registers and 64 General Purpose Registers accessed
by banking (see Figure 4-3).
4.2.1
The General Purpose Register file is accessed either
directly or indirectly through the File Select Register
(FSR). See Section 4.8 “Indirect Data Addressing:
INDF and FSR Registers”.
FIGURE 4-3:
DS41268B-page 16
Note 1: Not a physical register.
Data Memory Organization
GENERAL PURPOSE REGISTER
FILE
File Address
FSR<6:5>
0Ch
0Dh
0Fh
0Ah
0Bh
10h
00h
01h
02h
03h
04h
05h
06h
07h
08h
09h
1Fh
PIC16F506 REGISTER FILE MAP
CM2CON0
General
Purpose
Registers
General
Purpose
Registers
CM1CON0
OSCCAL
STATUS
VRCON
ADCON0
PORTB
PORTC
INDF
ADRES
TMR0
Bank 0
PCL
FSR
00
(1)
30h
3Fh
20h
2Fh
General
Purpose
Registers
Bank 1
01
Preliminary
Addresses map back to
addresses in Bank 0.
5Fh
50h
40h
4Fh
FIGURE 4-2:
General
Purpose
Registers
File Address
Note 1: Not a physical register.
Bank 2
FSR<5>
10
0Ah
07h
08h
09h
0Fh
10h
1Fh
00h
01h
02h
03h
04h
05h
06h
70h
7Fh
60h
6Fh
CM1CON0
General
Purpose
Registers
General
Purpose
Registers
General
Purpose
Registers
ADCON0
OSCCAL
Bank 3
STATUS
ADRES
INDF
TMR0
11
GPIO
Bank 0
PCL
FSR
PIC12F510 REGISTER
FILE MAP
0
© 2006 Microchip Technology Inc.
(1)
2Fh
3Fh
20h
30h
Addresses
map back to
addresses in
Bank 0.
General
Purpose
Registers
Bank 1
1

Related parts for PIC16F506