Microchip Technology MCP9800DM-DL2 Data Sheet
PIC10F200/202/204/206
DS40001239E-page 56
2004-2013 Microchip Technology Inc.
IORWF
Inclusive OR W with f
Syntax:
[ label ] IORWF f,d
Operands:
0
f 31
d
[0,1]
Operation:
(W).OR. (f)
(dest)
Status Affected: Z
Description:
Description:
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’.
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
Syntax:
[ label ] MOVF f,d
Operands:
0
f 31
d
[0,1]
Operation:
(f)
(dest)
Status Affected: Z
Description:
Description:
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’ = 1 is useful as a
test of a file register, since status
flag Z is affected.
moved to destination ‘d’. If ‘d’ is ‘0’,
destination is the W register. If ‘d’
is ‘1’, the destination is file
register ‘f’. ‘d’ = 1 is useful as a
test of a file register, since status
flag Z is affected.
MOVLW
Move literal to W
Syntax:
[ label ] MOVLW k
Operands:
0
k 255
Operation:
k
(W)
Status Affected: None
Description:
Description:
The eight-bit literal ‘k’ is loaded
into the W register. The “don’t
cares” will assembled as ‘0’s.
into the W register. The “don’t
cares” will assembled as ‘0’s.
MOVWF
Move W to f
Syntax:
[ label ] MOVWF f
Operands:
0
f 31
Operation:
(W)
(f)
Status Affected: None
Description:
Description:
Move data from the W register to
register ‘f’.
register ‘f’.
NOP
No Operation
Syntax:
[ label ] NOP
Operands:
None
Operation:
No operation
Status Affected: None
Description:
Description:
No operation.
OPTION
Load OPTION Register
Syntax:
[ label ] OPTION
Operands:
None
Operation:
(W)
Option
Status Affected: None
Description:
Description:
The content of the W register is
loaded into the OPTION register.
loaded into the OPTION register.