PIC Microcontrollers: Know It All

Section VI: Appendices

Appendix List

Appendix A: The PIC 16 Series Instruction Set
Appendix B: The Electronic Ping-Pong
Appendix C: DIZI-2 Board and Lock Application
Appendix D: Program M
Appendix E: Program N
Appendix F: Program O
Appendix G: Program P
Appendix H: Program Q
Appendix I: Useful PIC Data
Appendix J: PIC 16F84A Data Sheet
Table A1.1: PIC 16 Series Instruction Set Summary

Mnemonic, Operands

Description

Cycles

14-Bit Opcode

Status Affected

Notes

MSb

LSb

BYTE-ORIENTED FILE REGISTER OPERATIONS

ADDWF

f, d

Add W and f

1

00

0111

dfff

ffff

C,DC,Z

[1], [2]

ANDWF

f, d

ANDW with f

1

00

0101

dfff

ffff

Z

[1], [2]

CLRF

f

Clear f

1

00

0001

lfff

ffff

Z

[2]

CLRW

-

Clear W

1

00

0001

0xxx

xxxx

Z

COMF

f, d

Complement f

1

00

1001

dfff

ffff

Z

[1], [2]

DECF

f, d

Decrement f

1

00

0011

dfff

ffff

Z

[1], [2]

DECFSZ

f, d

Decrement f, Skip if 0

1 (2)

00

1011

dfff

fff

[1], [2], [3]

INCF

f, d

Increment f

1

00

1010

dfff

ffff

Z

[1], [2]

INCFSZ

f, d

Increment f, Skip if 0

1 (2)

00

1111

dfff

ffff

[1], [2], [3]

IORWF

f, d

Inclusive OR W with f

1

00

0100

dfff

ffff

Z

[1], [2]

MOVF

f, d

Move f

1

00

1000

dfff

ffff

Z

[1], [2]

MOVWF

f

Move W to f

1

UNLIMITED FREE
ACCESS
TO THE WORLD'S BEST IDEAS

SUBMIT
Already a GlobalSpec user? Log in.

This is embarrasing...

An error occurred while processing the form. Please try again in a few minutes.

Customize Your GlobalSpec Experience

Category: Motor Starters and Contactors
Finish!
Privacy Policy

This is embarrasing...

An error occurred while processing the form. Please try again in a few minutes.