English
Language : 

PIC16F193X Datasheet, PDF (349/418 Pages) Microchip Technology – 28/40/44-Pin Flash-Based, 8-Bit CMOS Microcontrollers with LCD Driver and nanoWatt Technology
PIC16F193X/LF193X
MOVWI
Syntax:
Operands:
Operation:
Status Affected:
Move W to INDFn
[ label ] MOVWI ++INDFn
[ label ] MOVWI --INDFn
[ label ] MOVWI INDFn++
[ label ] MOVWI INDFn--
[ label ] MOVWI [k]INDFn
[ label ] MOVWI INDFn
n ∈ [0,1]
mm ∈ [00, 01, 10, 11].
-32 ≤ k ≤ 31
If not present, k = 0.
W → INDFn
Effective address is determined by
• FSR + 1 (preincrement)
• FSR - 1 (predecrement)
• FSR + k (relative offset)
After the Move, the FSR value will be
either:
• FSR + 1 (all increments)
• FSR - 1 (all decrements)
Unchanged
None
mm
Mode
Syntax
00
Preincrement
++INDFn
01
Predecrement --INDFn
10
Postincrement INDFn++
11
Postdecrement INDFn--
Description:
This instruction is used to move data
between W and one of the indirect
registers (INDFn). Before/after this
move, the pointer (FSRn) is updated by
pre/post incrementing/decrementing it.
FSRn is limited to the range 0000h -
FFFFh. Incrementing/decrementing it
beyond these bounds will cause it to wrap
around.
The increment/decrement operation on
FSRn WILL NOT affect any Status bits.
NOP
Syntax:
Operands:
Operation:
Status Affected:
Description:
Words:
Cycles:
Example:
No Operation
[ label ] NOP
None
No operation
None
No operation.
1
1
NOP
OPTION
Syntax:
Operands:
Operation:
Status Affected:
Description:
Load OPTION_REG Register
with W
[ label ] OPTION
None
(W) → OPTION_REG
None
Move data from W register to
OPTION_REG register.
RESET
Syntax:
Operands:
Operation:
Status Affected:
Description:
Software Reset
[ label ] RESET
None
Execute a device Reset. Resets the
nRI flag of the PCON register.
None
This instruction provides a way to
execute a hardware Reset by soft-
ware.
© 2008 Microchip Technology Inc.
Preliminary
DS41364A-page 347