
PIC16F630/676
DS40039C-page 124
2003 Microchip Technology Inc.
CLRW .........................................................................74
CLRWDT.....................................................................74
COMF .........................................................................74
DECF ..........................................................................74
DECFSZ......................................................................75
GOTO .........................................................................75
INCF............................................................................75
INCFSZ.......................................................................75
IORLW ........................................................................75
IORWF........................................................................75
MOVF..........................................................................76
MOVLW ......................................................................76
MOVWF ......................................................................76
NOP ............................................................................76
RETFIE .......................................................................76
RETLW .......................................................................76
RETURN.....................................................................77
RLF .............................................................................77
RRF.............................................................................77
SLEEP ........................................................................77
SUBLW .......................................................................77
SUBWF.......................................................................77
SWAPF .......................................................................78
XORLW.......................................................................78
XORWF.......................................................................78
Summary Table...........................................................72
Internal 4 MHz Oscillator.....................................................56
Internal Sampling Switch (Rss) Impedance........................47
Interrupts.............................................................................63
A/D Converter .............................................................65
Comparator.................................................................65
Context Saving............................................................66
PORTA........................................................................65
RA2/INT ......................................................................65
Summary of Registers ................................................66
TMR0 ..........................................................................65
M
MCLR..................................................................................58
Memory Organization
Data EEPROM Memory..............................................49
Migrating from other PICmicro Devices ............................122
MPLAB ASM30 Assembler, Linker, Librarian .....................80
MPLAB ICD 2 In-Circuit Debugger......................................81
MPLAB ICE 2000 High Performance Universal
In-Circuit Emulator ..............................................................81
MPLAB ICE 4000 High Performance Universal
In-Circuit Emulator ..............................................................81
MPLAB Integrated Development Environment Software....79
MPLINK Object Linker/MPLIB Object Librarian ..................80
O
OPCODE Field Descriptions...............................................71
Oscillator Configurations.....................................................55
Oscillator Start-up Timer (OST) ..........................................58
P
Packaging .........................................................................117
Details.......................................................................118
Marking .....................................................................117
PCL and PCLATH...............................................................17
Computed GOTO........................................................17
Stack...........................................................................17
PICkit 1 FLASH Starter Kit..................................................83
PICSTART Plus Development Programmer.......................81
Pinout Descriptions
PIC16F630....................................................................6
PIC16F676....................................................................6
PORTA
Additional Pin Functions............................................. 19
Interrupt-on-Change........................................... 20
Weak Pull-up...................................................... 19
Associated Registers.................................................. 25
Pin Descriptions and Diagrams .................................. 22
PORTA and TRISIO Registers........................................... 19
PORTC............................................................................... 26
Associated Registers.................................................. 27
Power Control/Status Register (PCON).............................. 59
Power-Down Mode (SLEEP).............................................. 68
Power-on Reset (POR)....................................................... 58
Power-up Timer (PWRT) .................................................... 58
Prescaler............................................................................. 31
Switching Prescaler Assignment ................................ 31
PRO MATE II Universal Device Programmer..................... 81
Program Memory Organization............................................. 7
Programming, Device Instructions...................................... 71
R
RC Oscillator....................................................................... 56
READ-MODIFY-WRITE OPERATIONS ............................. 71
Registers
ADCON0 (A/D Control)............................................... 45
ADCON1..................................................................... 45
CMCON (Comparator Control)................................... 37
CONFIG (Configuration Word) ................................... 54
EEADR (EEPROM Address)...................................... 49
EECON1 (EEPROM Control) ..................................... 50
EEDAT (EEPROM Data)............................................ 49
INTCON (Interrupt Control)......................................... 13
IOCA (Interrupt-on-Change PORTA).......................... 21
Maps
PIC16F630 ........................................................... 8
PIC16F676 ........................................................... 8
OPTION_REG (Option)........................................ 12, 30
OSCCAL (Oscillator Calibration) ................................ 16
PCON (Power Control)............................................... 16
PIE1 (Peripheral Interrupt Enable 1)........................... 14
PIR1 (Peripheral Interrupt 1)....................................... 15
PORTC....................................................................... 27
STATUS ..................................................................... 11
T1CON (Timer1 Control) ............................................ 34
TRISC......................................................................... 27
VRCON (Voltage Reference Control)......................... 42
WPUA (Weak Pull-up PORTA)................................... 20
RESET................................................................................ 57
Revision History................................................................ 121
S
Software Simulator (MPLAB SIM) ...................................... 80
Software Simulator (MPLAB SIM30) .................................. 80
Special Features of the CPU.............................................. 53
Special Function Registers................................................... 8
T
Time-out Sequence ............................................................ 59
Timer0................................................................................. 29
Associated Registers.................................................. 31
External Clock............................................................. 30
Interrupt ...................................................................... 29
Operation.................................................................... 29
T0CKI ......................................................................... 30
Timer1
Associated Registers.................................................. 35
Asynchronous Counter Mode..................................... 35
Reading and Writing........................................... 35
Interrupt ...................................................................... 33