|
PIC16F818_13 Datasheet, PDF (108/178 Pages) Microchip Technology – 18/20-Pin Enhanced Flash Microcontrollers with nanoWatt Technology | |||
|
◁ |
PIC16F818/819
IORLW
Syntax:
Operands:
Operation:
Status Affected:
Description:
Inclusive OR Literal with W
[ label ] IORLW k
0 ï£ k ï£ 255
(W) .OR. k ï® (W)
Z
The contents of the W register are
ORed with the eight-bit literal âkâ.
The result is placed in the W
register.
MOVLW
Syntax:
Operands:
Operation:
Status Affected:
Description:
Move Literal to W
[ label ] MOVLW k
0 ï£ k ï£ 255
k ï® (W)
None
The eight-bit literal âkâ is loaded
into W register. The donât cares
will assemble as â0âs.
IORWF
Syntax:
Operands:
Operation:
Status Affected:
Description:
Inclusive OR W with f
[ label ] IORWF f,d
0 ï£ f ï£ 127
d ï [0,1]
(W) .OR. (f) ï® (destination)
Z
Inclusive OR the W register with
register âfâ. If âdâ = 0, the result is
placed in the W register. If âdâ = 1,
the result is placed back in
register âfâ.
MOVWF
Syntax:
Operands:
Operation:
Status Affected:
Description:
Move W to f
[ label ] MOVWF f
0 ï£ f ï£ 127
(W) ï® (f)
None
Move data from W register to
register âfâ.
MOVF
Syntax:
Operands:
Operation:
Status Affected:
Description:
Move f
[ label ] MOVF f,d
0 ï£ f ï£ 127
d ï [0,1]
(f) ï® (destination)
Z
The contents of register âfâ are
moved to a destination dependant
upon the status of âdâ. If âdâ = 0,
the destination is W register. If
âdâ = 1, the destination is file regis-
ter âfâ itself. âdâ = 1 is useful to test
a file register since status flag Z is
affected.
NOP
Syntax:
Operands:
Operation:
Status Affected:
Description:
No Operation
[ label ] NOP
None
No operation
None
No operation.
DS39598F-page 108
ï£ 2001-2013 Microchip Technology Inc.
|
▷ |