Datasheet

2003-2013 Microchip Technology Inc. DS39612C-page 387
PIC18F6525/6621/8525/8621
I
I/O Ports............................................................................103
I
2
C Mode
Associated Registers ................................................212
General Call Address Support ..................................196
Master Mode
Operation ..........................................................198
Master Mode Transmit Sequence.............................198
Read/Write Bit Information (R/W
Bit) ................186, 187
Serial Clock (RC3/SCK/SCL)....................................187
ID Locations ..............................................................259, 274
INCF.................................................................................. 296
INCFSZ .............................................................................297
In-Circuit Debugger...........................................................274
Resources (table)......................................................274
In-Circuit Serial Programming (ICSP) .......................259, 274
Indirect Addressing .............................................................57
INDF and FSR Registers ............................................56
Operation ....................................................................56
Indirect Addressing Operation.............................................57
Indirect File Operand........................................................... 47
INFSNZ .............................................................................297
Initialization Conditions for All Registers....................... 32–36
Instruction Flow/Pipelining ..................................................45
Instruction Set
ADDLW.....................................................................281
ADDWF..................................................................... 281
ADDWFC .................................................................. 282
ANDLW.....................................................................282
ANDWF..................................................................... 283
BC.............................................................................283
BCF...........................................................................284
BN.............................................................................284
BNC ..........................................................................285
BNN ..........................................................................285
BNOV........................................................................286
BNZ...........................................................................286
BOV ..........................................................................289
BRA........................................................................... 287
BSF...........................................................................287
BTFSC ......................................................................288
BTFSS ......................................................................288
BTG...........................................................................289
BZ ............................................................................. 290
CALL.........................................................................290
CLRF.........................................................................291
CLRWDT...................................................................291
COMF .......................................................................292
CPFSEQ ...................................................................292
CPFSGT ...................................................................293
CPFSLT ....................................................................293
DAW..........................................................................294
DCFSNZ ...................................................................295
DECF ........................................................................294
DECFSZ....................................................................295
Firmware Instructions................................................275
General Format.........................................................277
GOTO ....................................................................... 296
INCF.......................................................................... 296
INCFSZ..................................................................... 297
INFSNZ.....................................................................297
IORLW ......................................................................298
IORWF......................................................................298
LFSR.........................................................................299
MOVF ....................................................................... 299
MOVFF ..................................................................... 300
MOVLB ..................................................................... 300
MOVLW.................................................................... 301
MOVWF.................................................................... 301
MULLW..................................................................... 302
MULWF..................................................................... 302
NEGF........................................................................ 303
NOP.......................................................................... 303
Opcode Field Descriptions........................................ 276
POP .......................................................................... 304
PUSH........................................................................ 304
RCALL ...................................................................... 305
RESET...................................................................... 305
RETFIE..................................................................... 306
RETLW ..................................................................... 306
RETURN................................................................... 307
RLCF ........................................................................ 307
RLNCF...................................................................... 308
RRCF........................................................................ 308
RRNCF ..................................................................... 309
SETF ........................................................................ 309
SLEEP...................................................................... 310
SUBFWB .................................................................. 310
SUBLW..................................................................... 311
SUBWF..................................................................... 311
SUBWFB .................................................................. 312
SWAPF..................................................................... 312
TBLRD...................................................................... 313
TBLWT ..................................................................... 314
TSTFSZ .................................................................... 315
XORLW .................................................................... 315
XORWF .................................................................... 316
Summary Table ........................................................ 278
INT Interrupt (RB3/INT3:RB0/INT0). See Interrupt Sources.
INTCON Registers.............................................................. 89
Inter-Integrated Circuit. See I
2
C.
Interrupt Logic (diagram) .................................................... 88
Interrupt Sources .............................................................. 259
A/D Conversion Complete ........................................ 237
Capture Complete (CCP).......................................... 151
Compare Complete (CCP)........................................ 152
INT0 .......................................................................... 102
Interrupt-on-Change (RB7:RB4)............................... 106
PORTB, Interrupt-on-Change................................... 102
RB3/INT3:RB0/INT0/FLT0 Pins, External................. 102
TMR0 ........................................................................ 102
TMR0 Overflow......................................................... 133
TMR1 Overflow................................................. 135, 137
TMR2 to PR2 Match ................................................. 142
TMR2 to PR2 Match (PWM)..................... 141, 154, 160
TMR3 Overflow................................................. 143, 145
TMR4 to PR4 Match ................................................. 148
TMR4 to PR4 Match (PWM)..................................... 147
Interrupts............................................................................. 87
Control Registers ........................................................ 89
Enable Registers ........................................................ 95
Flag Registers............................................................. 92
Priority Registers ........................................................ 98
Reset Control Registers............................................ 101
IORLW.............................................................................. 298
IORWF.............................................................................. 298
IPR Registers...................................................................... 98