Available Op-codes
The following abbreviations are used:
b -- bit number, 0 <= b <= 7
d -- destination, 'f' or 'w'
f -- file register or variable
n -- literal value, 0 <= n <= 255 unless otherwise noted
k -- label or constant
Note that not all opcodes are available on all devices. Check the datasheet for a complete description.
addwf f,d
addwfc f,d
andwf f,d
clrf f
clrw
comf f,d
decf f,d
decfsz f,d
incf f,d
incfsz f,d
iorwf f,d
movf f,d
movwf f
nop
rlf f,d
rlcf f,d
rlncf f,d
rrf f,d
rrcf f,d
rrncf f,d
subwf f,d
swapf f,d
xorwf f,d
bcf f,b
bsf f,b
btfsc f,b
btfss f,b
addlw n
andlw n
call k
clrwdt
goto k
iorlw n
movlw n
retfie
retlw n
return
sleep
sublw n
xorlw n
tblrd { * | *+ | *- | +* }
tblwt { * | *+ | *- | +* }
reset
option
tris n (5 <= n <= 9)