![](http://datasheet.mmic.net.cn/260000/PIC17C42_datasheet_15942894/PIC17C42_225.png)
1996 Microchip Technology Inc.
DS30412B-page 225
PIC17C4X
H
Hardware Multiplier ............................................................49
I
I/O Ports
Bi-directional ..............................................................64
I/O Ports .....................................................................53
Programming Considerations ....................................64
Read-Modify-Write Instructions ..................................64
Successive Operations ..............................................64
INCF .................................................................................123
INCFSNZ .........................................................................124
INCFSZ ............................................................................123
INDF0 ...........................................................................34, 40
INDF1 ...........................................................................34, 40
Indirect Addressing
Indirect Addressing ....................................................39
Operation ...................................................................40
Registers ....................................................................40
Initialization Conditions For Special Function
Registers ............................................................19
Initializing PORTB ..............................................................57
Initializing PORTC ..............................................................58
Initializing PORTD ..............................................................60
Initializing PORTE ..............................................................62
Instruction Flow/Pipelining .................................................14
Instruction Set ..................................................................110
ADDLW ....................................................................112
ADDWF ....................................................................112
ADDWFC .................................................................113
ANDLW ....................................................................113
ANDWF ....................................................................114
BCF ..........................................................................114
BSF ..........................................................................115
BTFSC .....................................................................115
BTFSS .....................................................................116
BTG ..........................................................................116
CALL ........................................................................117
CLRF ........................................................................117
CLRWDT ..................................................................118
COMF ......................................................................118
CPFSEQ ..................................................................119
CPFSGT ..................................................................119
CPFSLT ...................................................................120
DAW .........................................................................120
DECF .......................................................................121
DECFSNZ ................................................................122
DECFSZ ...................................................................121
GOTO ......................................................................122
INCF .........................................................................123
INCFSNZ .................................................................124
INCFSZ ....................................................................123
IORLW .....................................................................124
IORWF .....................................................................125
LCALL ......................................................................125
MOVFP ....................................................................126
MOVLB ....................................................................126
MOVLR ....................................................................127
MOVLW ...................................................................127
MOVPF ....................................................................128
MOVWF ...................................................................128
MULLW ....................................................................129
MULWF ....................................................................129
NEGW ......................................................................130
NOP ..........................................................................130
RETFIE .....................................................................131
RETLW .....................................................................131
RETURN ...................................................................132
RLCF ........................................................................132
RLNCF ......................................................................133
RRCF ........................................................................133
RRNCF .....................................................................134
SETF ........................................................................134
SLEEP ......................................................................135
SUBLW .....................................................................135
SUBWF .....................................................................136
SUBWFB ..................................................................136
SWAPF .....................................................................137
TABLRD ...........................................................137, 138
TABLWT ...........................................................138, 139
TLRD ........................................................................139
TLWT ........................................................................140
TSTFSZ ....................................................................140
XORLW ....................................................................141
XORWF ....................................................................141
Instruction Set Summary ..................................................107
INT Pin ................................................................................26
INTE ...................................................................................22
INTEDG ........................................................................38, 67
Interrupt on Change Feature ..............................................55
Interrupt Status Register (INTSTA) ....................................22
Interrupts
Context Saving ...........................................................27
Flag bits
TMR1IE ..............................................................21
TMR1IF ..............................................................21
TMR2IE ..............................................................21
TMR2IF ..............................................................21
TMR3IE ..............................................................21
TMR3IF ..............................................................21
Interrupts ....................................................................21
Logic ...........................................................................21
Operation ....................................................................25
Peripheral Interrupt Enable .........................................23
Peripheral Interrupt Request ......................................24
PWM ...........................................................................76
Status Register ...........................................................22
Table Write Interaction ...............................................45
Timing .........................................................................26
Vectors
Peripheral Interrupt .............................................26
RA0/INT Interrupt ...............................................26
T0CKI Interrupt ...................................................26
TMR0 Interrupt ...................................................26
Vectors/Priorities ........................................................25
Wake-up from SLEEP ..............................................105
INTF ....................................................................................22
INTSTA ...............................................................................34
INTSTA Register ................................................................22
IORLW ..............................................................................124
IORWF ..............................................................................125
L
LCALL ...............................................................................125
Long Writes ........................................................................45