Microchip Technology MCP9800DM-DL2 Data Sheet

Page of 98
PIC10F200/202/204/206
DS40001239E-page 56
 
 2004-2013 Microchip Technology Inc.
IORWF
Inclusive OR W with f
Syntax:
label ]    IORWF    f,d
Operands:
 f  31
 [0,1]
Operation:
(W).OR. (f) 
 (dest)
Status Affected: Z
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’.
MOVF
Move f
Syntax:
label ]    MOVF   f,d
Operands:
 f  31
 [0,1]
Operation:
(f) 
 (dest)
Status Affected: Z
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.
MOVLW
Move literal to W
Syntax:
label ]    MOVLW   k
Operands:
 k  255
Operation:
 (W)
Status Affected: None
Description:
The eight-bit literal ‘k’ is loaded 
into the W register. The “don’t 
cares” will assembled as ‘0’s.
MOVWF
Move W to f
Syntax:
label ]    MOVWF     f
Operands:
 f  31
Operation:
(W) 
 (f)
Status Affected: None
Description:
Move data from the W register to 
register ‘f’.
NOP
No Operation
Syntax:
label ]    NOP
Operands:
None
Operation:
No operation
Status Affected: None
Description:
No operation.
OPTION
Load OPTION Register
Syntax:
label ]    OPTION
Operands:
None
Operation:
(W) 
 Option
Status Affected: None
Description:
The content of the W register is 
loaded into the OPTION register.