|
PIC16F526 Datasheet, PDF (76/122 Pages) Microchip Technology – 14-Pin, 8-Bit Flash Microcontroller | |||
|
◁ |
PIC16F526
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:
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:
0 ï£ f ï£ 31
d ï [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:
0 ï£ k ï£ 255
Operation:
k ï® (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:
0 ï£ 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
Syntax:
Operands:
Operation:
Status Affected:
Description:
Load OPTION Register
[ label ] OPTION
None
(W) ï® OPTION
None
The content of the W register is
loaded into the OPTION register.
DS41326D-page 76
ï£ 2010 Microchip Technology Inc.
|
▷ |