2002 Microchip Technology Inc. Preliminary DS30485A-page 311
PIC18FXX39
Multi-Master Mode ................................................... 159
Operation ................................................................. 138
Read/Write Bit Information (R/W Bit) ............... 138, 139
Registers .................................................................. 134
Serial Clock (RC3/SCK/SCL) ................................... 139
Slave Mode .............................................................. 138
Addressing ....................................................... 138
Reception ......................................................... 139
Transmission .................................................... 139
SLEEP Operation ..................................................... 159
STOP Condition Timing ........................................... 158
ICEPIC In-Circuit Emulator .............................................. 254
ID Locations ............................................................. 195, 210
INCF ................................................................................. 232
INCFSZ ............................................................................ 233
In-Circuit Debugger .......................................................... 210
In-Circuit Serial Programming (ICSP) ...................... 195, 210
Indirect Addressing ............................................................ 48
INDF and FSR Registers ........................................... 47
Operation ................................................................... 47
Indirect Addressing Operation ............................................ 48
Indirect File Operand .......................................................... 39
INFSNZ ............................................................................ 233
Instruction Cycle ................................................................. 36
Instruction Flow/Pipelining ................................................. 37
Instruction Format ............................................................ 213
Instruction Set .................................................................. 211
ADDLW .................................................................... 217
ADDWF .................................................................... 217
ADDWFC ................................................................. 218
ANDLW .................................................................... 218
ANDWF .................................................................... 219
BC ............................................................................ 219
BCF .......................................................................... 220
BN ............................................................................ 220
BNC ......................................................................... 221
BNN ......................................................................... 221
BNOV ....................................................................... 222
BNZ .......................................................................... 222
BOV ......................................................................... 225
BRA .......................................................................... 223
BSF .......................................................................... 223
BTFSC ..................................................................... 224
BTFSS ..................................................................... 224
BTG .......................................................................... 225
BZ ............................................................................ 226
CALL ........................................................................ 226
CLRF ........................................................................ 227
CLRWDT .................................................................. 227
COMF ...................................................................... 228
CPFSEQ .................................................................. 228
CPFSGT .................................................................. 229
CPFSLT ................................................................... 229
DAW ......................................................................... 230
DCFSNZ .................................................................. 231
DECF ....................................................................... 230
DECFSZ ................................................................... 231
GOTO ...................................................................... 232
INCF ......................................................................... 232
INCFSZ .................................................................... 233
INFSNZ .................................................................... 233
IORLW ..................................................................... 234
IORWF ..................................................................... 234
LFSR ........................................................................ 235
MOVF ....................................................................... 235
MOVFF .................................................................... 236
MOVLB .................................................................... 236
MOVLW ................................................................... 237
MOVWF ................................................................... 237
MULLW .................................................................... 238
MULWF .................................................................... 238
NEGF ....................................................................... 239
NOP ......................................................................... 239
POP ......................................................................... 240
PUSH ....................................................................... 240
RCALL ..................................................................... 241
RESET ..................................................................... 241
RETFIE .................................................................... 242
RETLW .................................................................... 242
RETURN .................................................................. 243
RLCF ....................................................................... 243
RLNCF ..................................................................... 244
RRCF ....................................................................... 244
RRNCF .................................................................... 245
SETF ....................................................................... 245
SLEEP ..................................................................... 246
SUBFWB ................................................................. 246
SUBLW .................................................................... 247
SUBWF .................................................................... 247
SUBWFB ................................................................. 248
SWAPF .................................................................... 248
TBLRD ..................................................................... 249
TBLWT .................................................................... 250
TSTFSZ ................................................................... 251
XORLW ................................................................... 251
XORWF ................................................................... 252
Summary Table ....................................................... 214
Instructions in Program Memory ........................................ 37
Two-Word Instructions ............................................... 38
INT Interrupt (RB0/INT). See Interrupt Sources
INTCON Register
RBIF Bit ..................................................................... 86
INTCON Registers ........................................................71–73
Inter-Integrated Circuit. See I2C
Interrupt Sources ............................................................. 195
A/D Conversion Complete ....................................... 184
INT0 ........................................................................... 81
Interrupt-on-Change (RB7:RB4) ................................ 86
PORTB, Interrupt-on-Change .................................... 81
RB0/INT Pin, External ................................................ 81
TMR0 ......................................................................... 81
TMR0 Overflow ........................................................ 101
TMR1 Overflow .................................................103, 105
TMR2 to PR2 Match (PWM) .................................... 123
TMR3 Overflow .................................................109, 111
USART Receive/Transmit Complete ....................... 165
Interrupts ............................................................................ 69
Logic .......................................................................... 70
Interrupts, Flag Bits
A/D Converter Flag (ADIF Bit) ................................. 183
Interrupt-on-Change (RB7:RB4) Flag
(RBIF Bit) ........................................................... 86
IORLW ............................................................................. 234
IORWF ............................................................................. 234
IPR Registers ................................................................78–79
K
KEELOQ Evaluation and Programming Tools ................... 256