Datasheet
2009-2011 Microchip Technology Inc. DS39957D-page 559
PIC18F87K90 FAMILY
Instruction Set ................................................................... 451
ADDLW ..................................................................... 457
ADDWF..................................................................... 457
ADDWF (Indexed Literal Offset Mode) ..................... 499
ADDWFC .................................................................. 458
ANDLW ..................................................................... 458
ANDWF..................................................................... 459
BC............................................................................. 459
BCF........................................................................... 460
BN............................................................................. 460
BNC .......................................................................... 461
BNN .......................................................................... 461
BNOV........................................................................ 462
BNZ........................................................................... 462
BOV .......................................................................... 465
BRA........................................................................... 463
BSF........................................................................... 463
BSF (Indexed Literal Offset Mode) ........................... 499
BTFSC ...................................................................... 464
BTFSS ...................................................................... 464
BTG........................................................................... 465
BZ ............................................................................. 466
CALL ......................................................................... 466
CLRF......................................................................... 467
CLRWDT................................................................... 467
COMF ....................................................................... 468
CPFSEQ ................................................................... 468
CPFSGT ................................................................... 469
CPFSLT .................................................................... 469
DAW.......................................................................... 470
DCFSNZ ................................................................... 471
DECF ........................................................................ 470
DECFSZ.................................................................... 471
Extended Instructions ............................................... 493
Considerations when Enabling ......................... 498
Syntax............................................................... 493
Use with MPLAB IDE Tools .............................. 500
General Format......................................................... 453
GOTO ....................................................................... 472
INCF.......................................................................... 472
INCFSZ ..................................................................... 473
INFSNZ ..................................................................... 473
IORLW ...................................................................... 474
IORWF ...................................................................... 474
LFSR......................................................................... 475
MOVF........................................................................ 475
MOVFF ..................................................................... 476
MOVLB ..................................................................... 476
MOVLW .................................................................... 477
MOVWF .................................................................... 477
MULLW ..................................................................... 478
MULWF..................................................................... 478
NEGF........................................................................ 479
NOP .......................................................................... 479
Opcode Field Descriptions........................................ 452
POP .......................................................................... 480
PUSH........................................................................ 480
RCALL ...................................................................... 481
RESET ...................................................................... 481
RETFIE ..................................................................... 482
RETLW ..................................................................... 482
RETURN ................................................................... 483
RLCF......................................................................... 483
RLNCF ...................................................................... 484
RRCF ........................................................................ 484
RRNCF ..................................................................... 485
SETF ........................................................................ 485
SETF (Indexed Literal Offset Mode)......................... 499
SLEEP ...................................................................... 486
Standard Instructions................................................ 451
SUBFWB .................................................................. 486
SUBLW..................................................................... 487
SUBWF..................................................................... 487
SUBWFB .................................................................. 488
SWAPF..................................................................... 488
TBLRD...................................................................... 489
TBLWT ..................................................................... 490
TSTFSZ .................................................................... 491
XORLW .................................................................... 491
XORWF .................................................................... 492
INTCON Register
RBIF Bit .................................................................... 160
Inter-Integrated Circuit.
See I
2
C.
Internal Oscillator Block ...................................................... 49
Adjustment.................................................................. 50
INTIO Modes .............................................................. 49
INTOSC Frequency Drift ............................................ 50
INTOSC Output Frequency ........................................ 50
INTPLL Modes............................................................ 50
Internal RC Oscillator
Use with WDT........................................................... 440
Internet Address ............................................................... 566
Interrupt Sources .............................................................. 425
A/D Conversion Complete ........................................ 383
Capture Complete (CCP) ......................................... 243
Capture Complete (ECCP) ....................................... 255
Compare Complete (CCP) ....................................... 244
Compare Complete (ECCP) ..................................... 256
Interrupt-on-Change (RB7:RB4)............................... 160
TMR0 Overflow......................................................... 185
TMR1 Overflow......................................................... 192
TMR2 to PR2 Match (PWM)..................................... 248
TMRx Overflow................................................. 201, 210
TMRx to PRx Match ................................................. 215
TMRx to PRx Match (PWM) ..................................... 213
Interrupts .......................................................................... 129
Associated Registers................................................ 152
During, Context Saving............................................. 151
INTx Pin.................................................................... 151
PORTB, Interrupt-on-Change................................... 151
TMR0........................................................................ 151
Interrupts, Flag Bits
Interrupt-on-Change (RB7:RB4) Flag (RBIF Bit) ...... 160
TMR12 to PR12 Match Flag (TMR12IF Bit) ............. 138
INTOSC, INTRC.
See Internal Oscillator Block.
IORLW .............................................................................. 474
IORWF.............................................................................. 474
L
LCD
Associated Registers................................................ 301
Bias Types................................................................ 281
Clock Source Selection ............................................ 280
Configuring the Module ............................................ 300
Frame Frequency ..................................................... 286
Interrupts .................................................................. 298
LCDCON Register .................................................... 274
LCDDATAx Registers............................................... 274
LCDPS Register ....................................................... 274
LCDSEx Registers.................................................... 274
Multiplex Types......................................................... 285