Professional Documents
Culture Documents
Arq Not Asm-Pic16f887 Eng
Arq Not Asm-Pic16f887 Eng
Any instruction that specifies a file register as part of k = 8-bit immediate value
the instruction performs a Read-Modify-Write (RMW)
operation. The register is read, the data is modified, CALL and GOTO instructions only
and the result is stored according to either the instruc- 13 11 10 0
tion, or the destination designator ‘d’. A read operation OPCODE k (literal)
is performed on a register even if the instruction writes
to that register. k = 11-bit immediate value
Before Instruction
W = 0x07
After Instruction
W = value of k8
C=0 W f
C=1 W f
DC = 0 W<3:0> f<3:0>
DC = 1 W<3:0> f<3:0>