PIC12F629/675
BCF.............................................................................73
BSF.............................................................................73
BTFSC ........................................................................74
BTFSS ........................................................................73
CALL...........................................................................74
CLRF...........................................................................74
CLRW .........................................................................74
CLRWDT.....................................................................74
COMF .........................................................................74
DECF ..........................................................................74
DECFSZ......................................................................75
GOTO .........................................................................75
INCF............................................................................75
INCFSZ.......................................................................75
IORLW ........................................................................75
IORWF........................................................................75
MOVLW ......................................................................76
MOVWF ......................................................................76
NOP ............................................................................76
RETFIE .......................................................................77
RETLW .......................................................................77
RETURN.....................................................................77
RLF .............................................................................78
RRF.............................................................................78
SLEEP ........................................................................78
SUBLW .......................................................................78
SUBWF.......................................................................78
SWAPF .......................................................................78
XORLW.......................................................................79
XORWF.......................................................................79
Summary Table...........................................................72
Internal 4 MHz Oscillator.....................................................56
Internal Sampling Switch (Rss) Impedance ........................47
Internet Address................................................................133
Interrupts.............................................................................63
A/D Converter .............................................................65
Comparator.................................................................65
Context Saving............................................................66
GP2/INT......................................................................65
GPIO...........................................................................65
Summary of Registers ................................................66
TMR0 ..........................................................................65
IOC — INTERRUPT-ON-CHANGE GPIO register
Stack........................................................................... 19
Pin Descriptions and Diagrams .......................................... 24
Pinout Descriptions
PIC12F629 ................................................................... 8
PIC12F675 ................................................................... 8
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
Program Memory Organization............................................. 9
Programming, Device Instructions...................................... 71
R
RC Oscillator....................................................................... 56
Reader Response............................................................. 134
READ-MODIFY-WRITE OPERATIONS ............................. 71
Registers
ANSEL (Analog Select) .............................................. 46
CONFIG (Configuration Word) ................................... 54
EEADR (EEPROM Address) ...................................... 50
EECON1 (EEPROM Control) ..................................... 51
EEDAT (EEPROM Data)............................................ 49
INTCON (Interrupt Control)......................................... 15
IOCB (Interrupt-on-Change GPIO)............................. 24
Maps
PIC12F629 ......................................................... 10
PIC12F675 ......................................................... 10
OPTION_REG (Option).................................. 14, 30, 31
OSCCAL (Oscillator Calibration) ................................ 18
PCON (Power Control) ............................................... 18
PIE1 (Peripheral Interrupt Enable 1)........................... 16
PIR1 (Peripheral Interrupt 1)....................................... 17
STATUS ..................................................................... 14
T1CON (Timer1 Control) ............................................ 34
VRCON (Voltage Reference Control)......................... 42
WPU (Weak Pull-up)................................................... 23
RESET................................................................................ 57
Revision History................................................................ 127
S
Software Simulator (MPLAB SIM) ...................................... 83
Special Features of the CPU .............................................. 53
Special Function Registers................................................. 10
Special Functions Registers Summary............................... 11
STATUS — STATUS Register (ADDRESS
(ADDRESS 96h) .................................................................23
M
MCLR..................................................................................58
Memory Organization
03h or 83h) ................................................................. 13
T
Data EEPROM Memory..............................................49
Microchip Internet Web Site..............................................133
Migrating from other PICmicro Devices ............................128
MPLAB ASM30 Assembler, Linker, Librarian .....................82
MPLAB Integrated Development Environment Software ....81
MPLAB PM3 Device Programmer.......................................84
MPLAB REAL ICE In-Circuit Emulator System...................83
MPLINK Object Linker/MPLIB Object Librarian ..................82
Time-out Sequence ............................................................ 59
Timer0................................................................................. 29
Associated Registers.................................................. 31
External Clock............................................................. 30
Interrupt ...................................................................... 29
Operation.................................................................... 29
T0CKI ......................................................................... 30
Timer1
O
Associated Registers.................................................. 35
Asynchronous Counter Mode..................................... 35
Reading and Writing........................................... 35
Interrupt ...................................................................... 33
Modes of Operations .................................................. 33
Operation During SLEEP............................................ 35
Oscillator..................................................................... 35
Prescaler .................................................................... 33
Timer1 Module with Gate Control....................................... 32
Timing Diagrams
OPCODE Field Descriptions...............................................71
Oscillator Configurations.....................................................55
Oscillator Start-up Timer (OST) ..........................................58
P
Packaging .........................................................................117
Details.......................................................................118
Marking .....................................................................117
PCL and PCLATH...............................................................19
Computed GOTO........................................................19
DS41190G-page 130
2010 Microchip Technology Inc.