Datasheet
© 2005 Microchip Technology Inc. Preliminary DS41236B-page 91
PIC12F508/509/16F505
INDEX
A
ALU.......................................................................................9
Assembler
MPASM Assembler.....................................................64
B
Block Diagram
On-Chip Reset Circuit.................................................47
Timer0.........................................................................33
TMR0/WDT Prescaler.................................................37
Watchdog Timer.......................................................... 50
Brown-Out Protection Circuit .............................................. 51
C
C Compilers
MPLAB C18 ................................................................64
MPLAB C30 ................................................................64
Carry .....................................................................................9
Clocking Scheme................................................................ 14
Code Protection ............................................................39, 52
Configuration Bits................................................................ 39
Configuration Word.............................................................40
Customer Change Notification Service ............................... 93
Customer Notification Service............................................. 93
Customer Support...............................................................93
D
DC and AC Characteristics ................................................. 79
Development Support .........................................................63
Digit Carry.............................................................................9
E
Errata ....................................................................................3
F
Family of Devices
PIC12F508/509/PIC16F505..........................................5
FSR..................................................................................... 26
I
I/O Interfacing ..................................................................... 29
I/O Ports..............................................................................29
I/O Programming Considerations........................................31
ID Locations..................................................................39, 52
INDF....................................................................................26
Indirect Data Addressing.....................................................26
Instruction Cycle .................................................................14
Instruction Flow/Pipelining .................................................. 14
Instruction Set Summary.....................................................56
Internet Address..................................................................93
L
Loading of PC .....................................................................25
M
Memory Organization.......................................................... 15
Data Memory .............................................................. 16
Program Memory (PIC12F508/509)............................ 15
Program Memory (PIC16F505)................................... 16
Microchip Internet Web Site................................................93
MPLAB ASM30 Assembler, Linker, Librarian ..................... 64
MPLAB ICD 2 In-Circuit Debugger ..................................... 65
MPLAB ICE 2000 High-Performance Universal
In-Circuit Emulator ......................................................65
MPLAB ICE 4000 High-Performance Universal
In-Circuit Emulator...................................................... 65
MPLAB Integrated Development Environment Software.... 63
MPLAB PM3 Device Programmer...................................... 65
MPLINK Object Linker/MPLIB Object Librarian.................. 64
O
Option Register................................................................... 22
OSC selection..................................................................... 39
OSCCAL Register............................................................... 24
Oscillator Configurations..................................................... 41
Oscillator Types
HS............................................................................... 41
LP ............................................................................... 41
RC .............................................................................. 41
XT............................................................................... 41
P
PIC12F508/509/16F505 Device Varieties ............................ 7
PICSTART Plus Development Programmer....................... 66
POR
Device Reset Timer (DRT) ................................... 39, 49
PD
............................................................................... 51
Power-on Reset (POR)............................................... 39
TO
............................................................................... 51
PORTB ............................................................................... 29
Power-down Mode.............................................................. 52
Prescaler ............................................................................ 36
Program Counter ................................................................ 25
Q
Q cycles.............................................................................. 14
R
RC Oscillator....................................................................... 42
Reader Response............................................................... 94
Read-Modify-Write.............................................................. 31
Register File Map
PIC12F508 ................................................................. 17
PIC12F509 ................................................................. 17
PIC16F505 ................................................................. 17
Registers
Special Function......................................................... 18
Reset .................................................................................. 39
Reset on Brown-Out........................................................... 51
S
Sleep ............................................................................ 39, 52
Software Simulator (MPLAB SIM) ...................................... 64
Special Features of the CPU .............................................. 39
Special Function Registers................................................. 18
Stack................................................................................... 25
Status Register............................................................... 9, 20
T
Timer0
Timer0 ........................................................................ 33
Timer0 (TMR0) Module .............................................. 33
TMR0 with External Clock .......................................... 35
Timing Diagrams and Specifications .................................. 73
Timing Parameter Symbology and Load Conditions .......... 73
TRIS Registers ................................................................... 29