16F876 Microchip Technology, 16F876 Datasheet - Page 142

no-image

16F876

Manufacturer Part Number
16F876
Description
28/40-pin 8-Bit CMOS FLASH Microcontrollers
Manufacturer
Microchip Technology
Datasheet
PIC16F87X
IORLW
Syntax:
Operands:
Operation:
Status Affected:
Description:
IORWF
Syntax:
Operands:
Operation:
Status Affected:
Description:
MOVF
Syntax:
Operands:
Operation:
Status Affected:
Description:
DS30292B-page 142
Inclusive OR W with f
[ label ]
0
d
(W) .OR. (f)
Z
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 regis-
ter 'f'.
Move f
[ label ]
0
d
(f)
Z
The contents of register f are
moved to a destination dependant
upon the status of d. If d = 0, des-
tination is W register. If d = 1, the
destination is file register f itself. d
= 1 is useful to test a file register
since status flag Z is affected.
Inclusive OR Literal with W
[ label ]
0
(W) .OR. k
Z
The contents of the W register are
OR’ed with the eight bit literal 'k'.
The result is placed in the W reg-
ister.
f
f
[0,1]
k
[0,1]
(destination)
127
127
255
IORWF
MOVF f,d
IORLW k
(W)
(destination)
f,d
MOVLW
Syntax:
Operands:
Operation:
Status Affected:
Description:
MOVWF
Syntax:
Operands:
Operation:
Status Affected:
Description:
NOP
Syntax:
Operands:
Operation:
Status Affected:
Description:
No Operation
[ label ]
None
No operation
None
No operation.
Move Literal to W
[ label ]
0
k
None
The eight bit literal 'k' is loaded
into W register. The don’t cares
will assemble as 0’s.
Move W to f
[ label ]
0
(W)
None
Move data from W register to reg-
ister 'f'.
k
f
(W)
1999 Microchip Technology Inc.
127
(f)
255
NOP
MOVLW k
MOVWF
f

Related parts for 16F876