Datasheet
2003-2013 Microchip Technology Inc. DS30491D-page 477
PIC18F6585/8585/6680/8680
F
Firmware Instructions........................................................ 365
Flash Program Memory ...................................................... 83
Associated Registers .................................................. 92
Control Registers ........................................................ 84
Erase Sequence ......................................................... 88
Erasing........................................................................ 88
Operation During Code
Protection............................................................ 92
Reading....................................................................... 87
Table Pointer
Boundaries Based on Operation......................... 86
Table Pointer Boundaries ........................................... 86
Table Reads and Table Writes ................................... 83
Write Sequence .......................................................... 90
Writing to..................................................................... 89
Protection Against Spurious
Writes.......................................................... 92
Unexpected Termination..................................... 92
Write Verify ......................................................... 92
G
General Call Address Support .......................................... 212
GOTO ............................................................................... 386
H
Hardware Multiplier ........................................................... 107
Introduction ............................................................... 107
Operation .................................................................. 107
Performance Comparison
(table)................................................................ 107
I
I/O Ports............................................................................ 125
I
2
C Bus Data Requirements
(Slave Mode)............................................................. 442
I
2
C Bus Start/Stop Bits Requirements
(Slave Mode)............................................................. 441
I
2
C Mode
General Call Address Support .................................. 212
Master Mode
Operation .......................................................... 214
Read/Write
Bit Information
(R/W
Bit) ................................................... 202, 203
Serial Clock (RC3/SCK/SCL).................................... 203
ID Locations .............................................................. 345, 362
INCF.................................................................................. 386
INCFSZ ............................................................................. 387
In-Circuit Debugger........................................................... 362
Resources (table)...................................................... 362
In-Circuit Serial Programming
(ICSP) ............................................................... 345, 362
Indirect Addressing
INDF and FSR Registers ............................................ 79
Operation .................................................................... 79
Indirect File Operand .......................................................... 59
INFSNZ ............................................................................. 387
Instruction Flow/Pipelining .................................................. 57
Instruction Format ............................................................. 367
Instruction Set................................................................... 365
ADDLW..................................................................... 371
ADDWF .................................................................... 371
ADDWFC.................................................................. 372
ANDLW..................................................................... 372
ANDWF .................................................................... 373
BC............................................................................. 373
BCF .......................................................................... 374
BN............................................................................. 374
BNC.......................................................................... 375
BNN.......................................................................... 375
BNOV ....................................................................... 376
BNZ .......................................................................... 376
BOV.......................................................................... 379
BRA .......................................................................... 377
BSF........................................................................... 377
BTFSC...................................................................... 378
BTFSS ...................................................................... 378
BTG .......................................................................... 379
BZ............................................................................. 380
CALL......................................................................... 380
CLRF ........................................................................ 381
CLRWDT .................................................................. 381
COMF ....................................................................... 382
CPFSEQ................................................................... 382
CPFSGT................................................................... 383
CPFSLT.................................................................... 383
DAW ......................................................................... 384
DCFSNZ................................................................... 385
DECF........................................................................ 384
DECFSZ ................................................................... 385
GOTO ....................................................................... 386
INCF ......................................................................... 386
INCFSZ..................................................................... 387
INFSNZ..................................................................... 387
IORLW...................................................................... 388
IORWF...................................................................... 388
LFSR ........................................................................ 389
MOVF ....................................................................... 389
MOVFF ..................................................................... 390
MOVLB ..................................................................... 390
MOVLW .................................................................... 391
MOVWF.................................................................... 391
MULLW..................................................................... 392
MULWF .................................................................... 392
NEGF........................................................................ 393
NOP.......................................................................... 393
POP.......................................................................... 394
PUSH........................................................................ 394
RCALL ...................................................................... 395
RESET...................................................................... 395
RETFIE..................................................................... 396
RETLW ..................................................................... 396
RETURN................................................................... 397
RLCF ........................................................................ 397
RLNCF...................................................................... 398
RRCF........................................................................ 398
RRNCF ..................................................................... 399
SETF ........................................................................ 399
18F8680.book Page 477 Tuesday, January 29, 2013 1:32 PM