Datasheet
PIC18F66K80 FAMILY
DS39977F-page 610 2010-2012 Microchip Technology Inc.
DAW.......................................................................... 502
DCFSNZ ................................................................... 503
DECF ........................................................................502
DECFSZ....................................................................503
Extended Instructions ............................................... 525
Considerations when Enabling ......................... 530
Syntax............................................................... 525
Use with MPLAB IDE Tools .............................. 532
General Format......................................................... 485
GOTO ....................................................................... 504
INCF.......................................................................... 504
INCFSZ ..................................................................... 505
INFSNZ ..................................................................... 505
IORLW ......................................................................506
IORWF ......................................................................506
LFSR......................................................................... 507
MOVF........................................................................ 507
MOVFF .....................................................................508
MOVLB ..................................................................... 508
MOVLW ....................................................................509
MOVWF .................................................................... 509
MULLW .....................................................................510
MULWF..................................................................... 510
NEGF ........................................................................511
NOP ..........................................................................511
Opcode Field Descriptions........................................ 484
POP ..........................................................................512
PUSH ........................................................................512
RCALL ......................................................................513
RESET ......................................................................513
RETFIE ..................................................................... 514
RETLW ..................................................................... 514
RETURN ................................................................... 515
RLCF......................................................................... 515
RLNCF ......................................................................516
RRCF ........................................................................ 516
RRNCF ..................................................................... 517
SETF......................................................................... 517
SETF (Indexed Literal Offset Mode) ......................... 531
SLEEP ......................................................................518
Standard Instructions ................................................ 483
SUBFWB...................................................................518
SUBLW ..................................................................... 519
SUBWF .....................................................................519
SUBWFB...................................................................520
SWAPF ..................................................................... 520
TBLRD ......................................................................521
TBLWT......................................................................522
TSTFSZ .................................................................... 523
XORLW..................................................................... 523
XORWF.....................................................................524
INTCON Register
RBIF Bit..................................................................... 177
Inter-Integrated Circuit.
See I
2
C.
Internal Oscillator Block ...................................................... 60
INTIO Modes............................................................... 60
INTOSC Frequency Drift ............................................. 61
INTOSC Output Frequency......................................... 61
INTPLL Modes ............................................................ 60
Internal RC Oscillator
Use with WDT ........................................................... 472
Internal Voltage Regulator Specifications ......................... 559
Internet Address................................................................617
Interrupt Sources...............................................................457
A/D Conversion Complete ........................................ 366
Capture Complete (CCP).......................................... 258
Capture Complete (ECCP) ....................................... 269
Compare Complete (CCP)........................................ 259
Compare Complete (ECCP) ..................................... 270
ECAN Module ........................................................... 453
Interrupt-on-Change (RB7:RB4) ............................... 177
TMR0 Overflow......................................................... 207
TMR1 Overflow......................................................... 215
TMR2 to PR2 Match (PWM)..................................... 262
TMR3 Overflow......................................................... 223
TMRx Overflow......................................................... 232
Interrupts........................................................................... 147
Associated Registers................................................ 169
During, Context Saving............................................. 169
INTx Pin.................................................................... 168
PORTB, Interrupt-on-Change ................................... 168
TMR0........................................................................ 168
Interrupts, Flag Bits
Interrupt-on-Change (RB7:RB4) Flag (RBIF Bit) ...... 177
INTOSC.
See Internal Oscillator Block.
IORLW .............................................................................. 506
IORWF.............................................................................. 506
L
LFSR................................................................................. 507
Listen Only Mode.............................................................. 438
Loopback Mode ................................................................ 438
M
Master Clear Reset (MCLR) ............................................... 81
Master Synchronous Serial Port (MSSP).
See MSSP.
Memory Organization ....................................................... 101
Data Memory ............................................................ 108
Program Memory...................................................... 101
Memory Programming Requirements ............................... 558
Microchip Internet Web Site.............................................. 617
Migration to PIC18F66K80 ............................................... 602
MOVF ............................................................................... 507
MOVFF ............................................................................. 508
MOVLB ............................................................................. 508
MOVLW ............................................................................ 509
MOVSF ............................................................................. 527
MOVSS............................................................................. 528
MOVWF............................................................................ 509
MPLAB ASM30 Assembler, Linker, Librarian ................... 534
MPLAB Integrated Development Environment Software.. 533
MPLAB PM3 Device Programmer .................................... 536
MPLAB REAL ICE In-Circuit Emulator System ................ 535
MPLINK Object Linker/MPLIB Object Librarian ................ 534
MSSP
ACK
Pulse ........................................................ 301, 304
I
2
C Mode. See I
2
C Mode.
Module Overview...................................................... 287
SPI Master/Slave Connection................................... 291
MULLW............................................................................. 510
MULWF............................................................................. 510
N
NEGF................................................................................ 511
NOP.................................................................................. 511
Normal Operation Mode ................................................... 438
Notable Differences Between PIC18F66K80 and PIC18F4580
and PIC18F4680 Families - 28, 40/44-pin Devices .. 602
Notable Differences Between PIC18F66K80 and PIC18F8680
Families - 64-pin Devices ......................................... 603