PIC16C62X
Instruction Set
INDEX
A
ADDLW....................................................................... 63
ADDWF ...................................................................... 63
ANDLW....................................................................... 63
ANDWF ...................................................................... 63
BCF ............................................................................ 64
BSF............................................................................. 64
BTFSC........................................................................ 64
BTFSS........................................................................ 65
CALL........................................................................... 65
CLRF .......................................................................... 65
CLRW......................................................................... 65
CLRWDT .................................................................... 66
COMF......................................................................... 66
DECF.......................................................................... 66
DECFSZ ..................................................................... 66
GOTO......................................................................... 67
INCF ........................................................................... 67
INCFSZ....................................................................... 67
IORLW........................................................................ 67
IORWF........................................................................ 68
MOVF ......................................................................... 68
MOVLW...................................................................... 68
MOVWF...................................................................... 68
NOP............................................................................ 69
OPTION...................................................................... 69
RETFIE....................................................................... 69
RETLW....................................................................... 69
RETURN..................................................................... 70
RLF............................................................................. 70
RRF ............................................................................ 70
SLEEP........................................................................ 70
SUBLW....................................................................... 71
SUBWF....................................................................... 71
SWAPF....................................................................... 72
TRIS ........................................................................... 72
XORLW ...................................................................... 72
XORWF ...................................................................... 72
Instruction Set Summary .................................................... 61
INT Interrupt ....................................................................... 56
INTCON Register ............................................................... 20
Interrupts ............................................................................ 55
IORLW Instruction .............................................................. 67
IORWF Instruction.............................................................. 68
ADDLW Instruction ............................................................. 63
ADDWF Instruction ............................................................. 63
ANDLW Instruction ............................................................. 63
ANDWF Instruction ............................................................. 63
Architectural Overview.......................................................... 9
Assembler
MPASM Assembler..................................................... 75
B
BCF Instruction ................................................................... 64
Block Diagram
TIMER0....................................................................... 31
TMR0/WDT PRESCALER .......................................... 34
Brown-Out Detect (BOD) .................................................... 50
BSF Instruction ................................................................... 64
BTFSC Instruction............................................................... 64
BTFSS Instruction............................................................... 65
C
CALL Instruction ................................................................. 65
Clocking Scheme/Instruction Cycle .................................... 12
CLRF Instruction................................................................. 65
CLRW Instruction................................................................ 65
CLRWDT Instruction........................................................... 66
CMCON Register................................................................ 37
Code Protection .................................................................. 60
COMF Instruction................................................................ 66
Comparator Configuration................................................... 38
Comparator Interrupts......................................................... 41
Comparator Module ............................................................ 37
Comparator Operation ........................................................ 39
Comparator Reference ....................................................... 39
Configuration Bits................................................................ 46
Configuring the Voltage Reference..................................... 43
Crystal Operation................................................................ 47
D
Data Memory Organization................................................. 14
DECF Instruction................................................................. 66
DECFSZ Instruction............................................................ 66
Development Support ......................................................... 73
Development Tools............................................................. 73
E
K
Errata .................................................................................... 3
External Crystal Oscillator Circuit ....................................... 48
KeeLoq Evaluation and Programming Tools ................... 76
M
F
MOVF Instruction................................................................ 68
MOVLW Instruction ............................................................ 68
MOVWF Instruction ............................................................ 68
MPLAB Integrated Development Environment
Fuzzy Logic Dev. System (fuzzyTECH -MP) .................... 75
G
General purpose Register File............................................ 14
GOTO Instruction................................................................ 67
Software ............................................................................. 75
I
N
I/O Ports.............................................................................. 25
I/O Programming Considerations........................................ 30
ICEPIC Low-Cost PIC16CXXX In-Circuit Emulator ............ 73
ID Locations........................................................................ 60
INCF Instruction.................................................................. 67
INCFSZ Instruction ............................................................. 67
In-Circuit Serial Programming............................................. 60
Indirect Addressing, INDF and FSR Registers ................... 24
Instruction Flow/Pipelining .................................................. 12
NOP Instruction .................................................................. 69
O
One-Time-Programmable (OTP) Devices .............................7
OPTION Instruction ............................................................ 69
OPTION Register ............................................................... 19
Oscillator Configurations .................................................... 47
Oscillator Start-up Timer (OST).......................................... 50
1998 Microchip Technology Inc.
Preliminary
DS30235G-page 103