
PIC16F627A/628A/648A
DS40044B-page 162
Preliminary
2004 Microchip Technology Inc.
E
EECON1 register ................................................................90
EECON2 register ................................................................90
Errata ....................................................................................3
Evaluation and Programming Tools..................................129
External Crystal Oscillator Circuit........................................95
G
General-Purpose Register File............................................15
GOTO Instruction..............................................................117
I
I/O Ports..............................................................................31
Bi-Directional...............................................................44
Block Diagrams
RB0/INT Pin........................................................37
RB1/RX/DT Pin...................................................37
RB2/TX/CK Pin ...................................................38
RB3/CCP1 Pin ....................................................38
RB4/PGM Pin......................................................39
RB5 Pin...............................................................40
RB6/T1OSO/T1CKI Pin ......................................41
RB7/T1OSI Pin ...................................................42
PORTA........................................................................31
PORTB........................................................................36
Programming Considerations .....................................44
Successive Operations ...............................................44
TRISA .........................................................................31
TRISB .........................................................................36
ID Locations......................................................................108
INCF Instruction ................................................................118
INCFSZ Instruction............................................................118
In-Circuit Serial Programming...........................................109
Indirect Addressing, INDF and FSR Registers....................28
Instruction Flow/Pipelining ..................................................13
Instruction Set
ADDLW .....................................................................113
ADDWF.....................................................................113
ANDLW .....................................................................113
ANDWF.....................................................................113
BCF...........................................................................114
BSF...........................................................................114
BTFSC ......................................................................114
BTFSS ......................................................................115
CALL.........................................................................115
CLRF.........................................................................115
CLRW........................................................................116
CLRWDT...................................................................116
COMF .......................................................................116
DECF ........................................................................116
DECFSZ....................................................................117
GOTO........................................................................117
INCF..........................................................................118
INCFSZ.....................................................................118
IORLW.......................................................................119
IORWF......................................................................119
MOVF........................................................................119
MOVLW.....................................................................119
MOVWF ....................................................................120
NOP ..........................................................................120
OPTION ....................................................................120
RETFIE .....................................................................120
RETLW......................................................................121
RETURN...................................................................121
RLF ...........................................................................121
RRF .......................................................................... 122
SLEEP...................................................................... 122
SUBLW..................................................................... 122
SUBWF..................................................................... 123
SWAPF..................................................................... 123
TRIS ......................................................................... 123
XORLW..................................................................... 124
XORWF .................................................................... 124
Instruction Set Summary .................................................. 111
INT Interrupt...................................................................... 105
INTCON Register................................................................ 24
Interrupt Sources
Capture Complete (CCP)............................................ 56
Compare Complete (CCP).......................................... 57
TMR2 to PR2 Match (PWM)....................................... 58
Interrupts........................................................................... 104
Interrupts, Enable Bits
CCP1 Enable (CCP1IE Bit) ........................................ 56
Interrupts, Flag Bits
CCP1 Flag (CCP1IF Bit)............................................. 56
IORLW Instruction ............................................................ 119
IORWF Instruction ............................................................ 119
M
Memory Organization
Data EEPROM Memory.................................. 89, 91, 92
Migrating from other PICmicro Devices............................ 156
MOVF Instruction.............................................................. 119
MOVLW Instruction........................................................... 119
MOVWF Instruction .......................................................... 120
MPLAB ASM30 Assembler, Linker, Librarian................... 126
MPLAB ICD 2 In-Circuit Debugger................................... 127
MPLAB ICE 2000 High-Performance Universal In-Circuit Em-
ulator................................................................................. 127
MPLAB ICE 4000 High-Performance Universal In-Circuit Em-
ulator................................................................................. 127
MPLAB Integrated Development Environment Software.. 125
MPLAB PM3 Device Programmer .................................... 127
MPLINK Object Linker/MPLIB Object Librarian................ 126
N
NOP Instruction ................................................................ 120
O
OPTION Instruction .......................................................... 120
OPTION Register................................................................ 23
Oscillator Configurations..................................................... 95
Oscillator Start-up Timer (OST).......................................... 98
P
Package Marking Information........................................... 149
Packaging Information...................................................... 149
PCL and PCLATH............................................................... 28
Stack........................................................................... 28
PCON Register................................................................... 27
PICkit 1 Flash Starter Kit .................................................. 129
PICSTART Plus Development Programmer..................... 128
PIE1 Register...................................................................... 25
Pin Functions
RC6/TX/CK........................................................... 69–86
RC7/RX/DT........................................................... 69–86
PIR1 Register ..................................................................... 26
Port RB Interrupt............................................................... 105
PORTA ............................................................................... 31
PORTB ............................................................................... 36