PIC18Fxxx Instruction
Set
Byte-oriented File Register Control Operations
Operations • BC — Branch if Carry
• ADDWF — Add WREG to f • BN — Branch if Negative
• ADDWFC — Add WREG and Carry bit to f • BNC — Branch if Not Carry
• ANDWF — AND WREG with f • BNN — Branch if Not Negative
• CLRF — Clear f • BNOV — Branch if Not Overflow
• COMF — Complement f • BNZ — Branch if Not Zero
• CPFSEQ — Compare f with WREG, skip = • BOV — Branch if Overflow
• CPFSGT — Compare f with WREG, skip if > • BRA — Branch Unconditionally
• CPFSLT — Compare f with WREG, skip if < • BZ — Branch if Zero
• DECF — Decrement f • CALL — Call subroutine
• DECFSZ — Decrement f, Skip if 0 • CLRWDT — Clear Watchdog Timer
• DCFSNZ — Decrement f, Skip if Not 0 • DAW — Decimal Adjust WREG
• INCF — Increment f • GOTO — Go to address
• INCFSZ — Increment f, Skip if 0 • NOP — No Operation
• INFSNZ — Increment f, Skip if Not 0 • POP — Pop top of return stack (TOS)
• IORWF — Inclusive OR WREG with f • PUSH — Push top of return stack (TOS)
• MOVF — Move f • RCALL — Relative Call
• MOVFF — Move fs (source) to fd • RESET — Software device RESET
(destination) • RETFIE — Return from interrupt enable
• MOVWF — Move WREG to f • RETLW — Return with literal in WREG
• MULWF — Multiply WREG with f • RETURN — Return from Subroutine
• NEGF — Negate f • SLEEP — Go into Standby mode
• RLCF — Rotate Left f through Carry
• RLNCF — Rotate Left f (No Carry) Literal Operations
• RRCF — Rotate Right f through Carry
• ADDLW — Add literal and WREG
• RRNCF — Rotate Right f (No Carry)
• ANDLW — AND literal with WREG
• SETF — Set f
• IORLW — Inclusive OR literal with WREG
• SUBFWB — Subtract f from WREG with
• LFSR — Move literal to FSRx
borrow
• MOVLB — Move literal to BSR<3:0>
• SUBWF — Subtract WREG from f
• MOVLW — Move literal to WREG
• SUBWFB — Subtract WREG from f with
borrow • MULLW — Multiply literal with WREG
• SWAPF — Swap nibbles in f • RETLW — Return with literal in WREG
• TSTFSZ — Test f, skip if 0 • SUBLW — Subtract WREG from literal
• XORWF — Exclusive OR WREG with f • XORLW — Exclusive OR literal with WREG
Data Memory & Program Memory
Bit-oriented File Register Operations
• TBLRD* — Table Read
Operations
• TBLRD*+ — Table Read with post-increment
• BCF — Bit Clear f
• TBLRD*- — Table Read with post-decrement
• BSF — Bit Set f
• TBLRD+* — Table Read with pre-increment
• BTFSC — Bit Test f, Skip if Clear
• TBLWT* — Table Write
• BTFSS — Bit Test f, Skip if Set
• TBLWT*+ — Table Write with post-increment
• BTG — Bit Toggle f
• TBLWT*- — Table Write with post-decrement
• TBLWT+* — Table Write with pre-increment