APPENDIX 1. The PIC 16 Series instruction set
TABLE A1.1. PIC 16 Series Instruction Set Summary
Mnemonic, operandsDescriptionCycles14-Bit opcodeStatus affectedNotes
MSbLSb
BYTE-ORIENTED FILE REGISTER OPERATIONS
ADDWFf,dAdd W and f1000111dfffffffC,DC,Z1,2
ANDWFf,dAND W with f1000101dfffffffZ1,2
CLRFfClear f1000001lfffffffZ2
CLRW-Clear W10000010xxxxxxxZ
COMFf,dComplement f1001001dfffffffZ1,2
DECFf,dDecrement f1000011dfffffffZ1,2
DECFSZf,dDecrement f, Skip if 01(2)001011dfffffff1,2,3
INCFf,dIncrement f1001010dfffffffZ1,2
INCFSZf,dIncrement f, Skip if 01(2)001111dfffffff1,2,3
IORWFf,dInclusive OR W with f1000100dfffffffZ1,2
MOVFf,dMovef1001000dfffffffZ1,2
MOVWfMove W to f1000000lfffffff
NOP-No Operation10000000xx00000
RLFf,dRotate Left f through Carry1001101 ...

Get Designing Embedded Systems with PIC Microcontrollers, 2nd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.