
PIC16C64X & PIC16C66X
DS30559A-page 128
Preliminary
 1996 Microchip Technology Inc.
I
I/O Ports ........................................................................... 29
PORTA ..................................................................... 29
PORTB ..................................................................... 32
PORTC ..................................................................... 34
PORTD ..................................................................... 35
PORTE ..................................................................... 36
I/O Programming Considerations ................................ 38
ICEPIC In-Circuit Emulator ........................................... 87
ID Locations ..................................................................... 71
INCF Instruction .............................................................. 80
INCFSZ Instruction ......................................................... 80
In-Circuit Serial Programming ...................................... 71
Indirect Addressing, INDF and FSR Registers ......... 28
Instruction Flow/Pipelining ............................................ 15
Instruction Format ........................................................... 73
Instruction Set
ADDLW .................................................................... 76
ADDWF .................................................................... 76
ANDLW .................................................................... 76
ANDWF .................................................................... 76
BCF ........................................................................... 77
BSF ........................................................................... 77
BTFSC ...................................................................... 77
BTFSS ...................................................................... 78
CALL ......................................................................... 78
CLRF ........................................................................ 78
CLRW ....................................................................... 78
CLRWDT .................................................................. 79
COMF ....................................................................... 79
DECF ........................................................................ 79
DECFSZ ................................................................... 79
GOTO ....................................................................... 80
INCF .......................................................................... 80
INCFSZ .................................................................... 80
IORLW ...................................................................... 80
IORWF ...................................................................... 81
MOVF ....................................................................... 81
MOVLW .................................................................... 81
MOVWF .................................................................... 81
NOP .......................................................................... 82
OPTION .................................................................... 82
RETFIE ..................................................................... 82
RETLW ..................................................................... 82
RETURN .................................................................. 83
RLF ........................................................................... 83
RRF ........................................................................... 83
SLEEP ...................................................................... 83
SUBLW ..................................................................... 84
SUBWF .................................................................... 84
SWAPF ..................................................................... 85
TRIS .......................................................................... 85
XORLW .................................................................... 85
XORWF .................................................................... 85
Section ...................................................................... 73
Summary Table ...................................................... 75
INT Interrupt .................................................................... 67
INTCON Register ........................................................... 23
Interrupts .......................................................................... 66
Comparator .............................................................. 51
PORTB Change ..................................................... 32
PSP Read-Write ..................................................... 39
RB0/INT ................................................................... 66
Section ..................................................................... 66
Timer0 ...................................................................... 41
Timer0, Timing ........................................................ 42
IORLW Instruction .......................................................... 80
IORWF Instruction ......................................................... 81
M
MOVF Instruction ........................................................... 81
MOVLW Instruction ........................................................ 81
MOVWF Instruction ....................................................... 81
MPASM Assembler .................................................. 87, 88
MPLAB-C C Compiler ................................................... 89
MPLAB-SIM Software Simulator ........................... 87, 89
N
NOP Instruction .............................................................. 82
O
One-Time-Programmable (OTP) Devices ................... 7
Opcode ............................................................................. 73
OPTION Instruction ....................................................... 82
OPTION Register ........................................................... 22
Oscillator Configurations ............................................... 57
Oscillator Start-up Timer (OST) ................................... 60
P
Package Marking Information ............................ 112, 113
Packaging Information ................................................. 105
Parallel Slave Port ......................................................... 35
Section ..................................................................... 39
Parity Error Reset (PER) ........................................ 60, 61
PCL ................................................................................... 74
PCL and PCLATH .......................................................... 27
PCON Register ......................................................... 26, 61
PICDEM-1 Low-Cost PIC16/17 Demo Board ..... 87, 88
PICDEM-2 Low-Cost PIC16CXX Demo Board ... 87, 88
PICDEM-3 Low-Cost PIC16C9XX Demo Board ...... 88
PICDEM-3 PIC16C9XX Low-Cost Demonstration
Board ................................................................ 87
PICMASTER High Performance
In-Circuit Emulator ......................................... 87
PICSTART Plus Entry Level Development
System ............................................................. 87
PICSTART Plus Entrvel Prototype
Programmer .................................................... 87
PIE1 Register .................................................................. 24
Pin Compatible Devices .............................................. 125
Pin Functions
RD7/PSP7:RD0/PSP0 .......................................... 14
RE0/RD ....................................................... 14, 39
RE1/WR ...................................................... 14, 39
RE2/CS ....................................................... 14, 39
PIR1 Register .................................................................. 25
Port RB Interrupt ............................................................ 67
PORTA ............................................................................. 29
PORTB ............................................................................. 32
PORTC Register ............................................................ 34
PORTD Register ............................................................ 35