O'Reilly logo

Designing Embedded Systems with PIC Microcontrollers, 2nd Edition by Tim Wilmshurst

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required