PIC16F871 Microchip Technology Inc., PIC16F871 Datasheet - Page 110

no-image

PIC16F871

Manufacturer Part Number
PIC16F871
Description
28/40-pin, 8-bit Cmos Flash Microcontrollers
Manufacturer
Microchip Technology Inc.
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC16F871-E/L
Manufacturer:
Microchip Technology
Quantity:
10 000
Part Number:
PIC16F871-E/PT
Manufacturer:
Microchip Technology
Quantity:
10 000
Part Number:
PIC16F871-I/L
Manufacturer:
Microchip Technology
Quantity:
10 000
Part Number:
PIC16F871-I/P
Manufacturer:
Microchip Technology
Quantity:
1 984
Part Number:
PIC16F871-I/PT
Manufacturer:
Microchip Technology
Quantity:
10 000
Part Number:
PIC16F871T-E/L
Manufacturer:
Microchip Technology
Quantity:
10 000
PIC16F870/871
MOVF
Syntax:
Operands:
Operation:
Status Affected:
Description:
MOVLW
Syntax:
Operands:
Operation:
Status Affected:
Description:
MOVWF
Syntax:
Operands:
Operation:
Status Affected:
Description:
DS30569B-page 108
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,
destination 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.
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
register 'f'.
f
[0,1]
k
f
(W)
(destination)
127
127
(f)
255
MOVF f,d
MOVLW k
MOVWF
f
NOP
Syntax:
Operands:
Operation:
Status Affected:
Description:
RETFIE
Syntax:
Operands:
Operation:
Status Affected:
RETLW
Syntax:
Operands:
Operation:
Status Affected:
Description:
No Operation
[ label ]
None
No operation
None
No operation.
Return from Interrupt
[ label ]
None
TOS
1
None
Return with Literal in W
[ label ]
0
k
TOS
None
The W register is loaded with the
eight-bit literal 'k'. The program
counter is loaded from the top of
the stack (the return address).
This is a two-cycle instruction.
k
GIE
(W);
 2003 Microchip Technology Inc.
255
PC,
PC
NOP
RETFIE
RETLW k

Related parts for PIC16F871