PIC10F200/202/204/206
IORWF
Inclusive OR W with f
MOVWF
Syntax:
Move W to f
[ label ] MOVWF
0 ≤ f ≤ 31
Syntax:
[ label ] IORWF f,d
f
Operands:
0 ≤ f ≤ 31
d ∈ [0,1]
Operands:
Operation:
(W) → (f)
Operation:
(W).OR. (f) → (dest)
Status Affected: None
Status Affected:
Description:
Z
Description:
Move data from the W register to
register ‘f’.
Inclusive OR the W register with
register ‘f’. If ‘d’ is ‘0’, the result is
placed in the W register. If ‘d’ is ‘1’,
the result is placed back in register
‘f’.
MOVF
Move f
NOP
No Operation
[ label ] NOP
None
Syntax:
Operands:
[ label ] MOVF f,d
Syntax:
0 ≤ f ≤ 31
d ∈ [0,1]
Operands:
Operation:
No operation
Operation:
(f) → (dest)
Status Affected: None
Status Affected:
Description:
Z
Description:
No operation.
The contents of register ‘f’ are
moved to destination ‘d’. If ‘d’ is ‘0’,
destination is the W register. If ‘d’
is ‘1’, the destination is file
register ‘f’. ‘d’ = 1is useful as a
test of a file register, since status
flag Z is affected.
MOVLW
Syntax:
Move literal to W
[ label ] MOVLW k
0 ≤ k ≤ 255
OPTION
Syntax:
Load OPTION Register
[ label ] OPTION
None
Operands:
Operation:
Operands:
Operation:
(W) → Option
k → (W)
Status Affected: None
Status Affected: None
Description: The content of the W register is
Description:
The eight-bit literal ‘k’ is loaded
into the W register. The “don’t
loaded into the OPTION register.
cares” will assembled as ‘0’s.
DS41239D-page 56
© 2007 Microchip Technology Inc.