PIC12F629/675
DS41190E-page 120 © 2007 Microchip Technology Inc.
BSF ............................................................................. 71
BTFSC ........................................................................ 71
BTFSS ........................................................................ 71
CALL ........................................................................... 72
CLRF........................................................................... 72
CLRW ......................................................................... 72
CLRWDT..................................................................... 72
COMF ......................................................................... 72
DECF .......................................................................... 72
DECFSZ...................................................................... 73
GOTO ......................................................................... 73
INCF............................................................................ 73
INCFSZ ....................................................................... 73
IORLW ........................................................................ 73
IORWF ........................................................................ 73
MOVF.......................................................................... 74
MOVLW ...................................................................... 74
MOVWF ...................................................................... 74
NOP ............................................................................ 74
RETFIE ....................................................................... 74
RETLW ....................................................................... 74
RETURN ..................................................................... 75
RLF ............................................................................. 75
RRF............................................................................. 75
SLEEP ........................................................................ 75
SUBLW ....................................................................... 75
SUBWF ....................................................................... 75
SWAPF ....................................................................... 76
XORLW....................................................................... 76
XORWF....................................................................... 76
Summary Table........................................................... 70
Internal 4 MHz Oscillator..................................................... 54
Internal Sampling Switch (Rss) Impedance ........................ 45
Interrupts ............................................................................. 61
A/D Converter ............................................................. 63
Comparator ................................................................. 63
Context Saving............................................................64
GP2/INT ...................................................................... 63
GPIO ........................................................................... 63
Summary of Registers ................................................ 64
TMR0 .......................................................................... 63
M
MCLR .................................................................................. 56
Memory Organization
Data EEPROM Memory.............................................. 47
Migrating from other PIC Devices ..................................... 122
MPLAB ASM30 Assembler, Linker, Librarian ..................... 78
MPLAB ICD 2 In-Circuit Debugger...................................... 79
MPLAB ICE 2000 High Performance Universal
In-Circuit Emulator .............................................................. 79
MPLAB ICE 4000 High Performance Universal
In-Circuit Emulator .............................................................. 79
MPLAB Integrated Development Environment
Software.............................................................................. 77
MPLINK Object Linker/MPLIB Object Librarian ..................78
O
OPCODE Field Descriptions ............................................... 69
Oscillator Configurations .....................................................53
Oscillator Start-up Timer (OST) .......................................... 56
P
Packaging ......................................................................... 115
Details ....................................................................... 116
Marking ..................................................................... 115
PCL and PCLATH............................................................... 17
Computed GOTO........................................................17
Stack........................................................................... 17
PICkit 1 FLASH Starter Kit.................................................. 81
PICSTART Plus Development Programmer....................... 79
Pin Descriptions and Diagrams .......................................... 22
Pinout Descriptions
PIC12F629 ................................................................... 6
PIC12F675 ................................................................... 6
Power Control/Status Register (PCON).............................. 57
Power-Down Mode (SLEEP) .............................................. 66
Power-on Reset (POR)....................................................... 56
Power-up Timer (PWRT) .................................................... 56
Prescaler............................................................................. 29
Switching Prescaler Assignment ................................ 29
PRO MATE II Universal Device Programmer ..................... 79
Program Memory Organization............................................. 7
Programming, Device Instructions...................................... 69
R
RC Oscillator....................................................................... 54
READ-MODIFY-WRITE OPERATIONS ............................. 69
Registers
ADCON0 (A/D Control)............................................... 43
ANSEL (Analog Select) .............................................. 44
CMCON (Comparator Control) ................................... 35
CONFIG (Configuration Word) ................................... 52
EEADR (EEPROM Address) ...................................... 47
EECON1 (EEPROM Control) ..................................... 48
EEDAT (EEPROM Data) ............................................ 47
INTCON (Interrupt Control)......................................... 13
IOC (Interrupt-on-Change GPIO)................................ 21
Maps
PIC12F629 ........................................................... 8
PIC12F675 ........................................................... 8
OPTION_REG (Option) ........................................ 12, 28
OSCCAL (Oscillator Calibration) ................................ 16
PCON (Power Control) ............................................... 16
PIE1 (Peripheral Interrupt Enable 1)........................... 14
PIR1 (Peripheral Interrupt 1)....................................... 15
STATUS ..................................................................... 11
T1CON (Timer1 Control) ............................................ 32
VRCON (Voltage Reference Control) ......................... 40
WPU (Weak Pull-up)................................................... 20
RESET................................................................................ 55
Revision History................................................................ 121
S
Software Simulator (MPLAB SIM) ...................................... 78
Software Simulator (MPLAB SIM30) .................................. 78
Special Features of the CPU .............................................. 51
Special Function Registers................................................... 8
Special Functions Registers Summary................................. 9
T
Time-out Sequence ............................................................ 57
Timer0................................................................................. 27
Associated Registers.................................................. 29
External Clock............................................................. 28
Interrupt ...................................................................... 27
Operation.................................................................... 27
T0CKI ......................................................................... 28
Timer1
Associated Registers.................................................. 33
Asynchronous Counter Mode ..................................... 33
Reading and Writing ........................................... 33
Interrupt ...................................................................... 31
Modes of Operations .................................................. 31
Operation During SLEEP............................................ 33
Oscillator..................................................................... 33