PIC16F872-E/SO Microchip Technology, PIC16F872-E/SO Datasheet - Page 110

no-image

PIC16F872-E/SO

Manufacturer Part Number
PIC16F872-E/SO
Description
IC,MICROCONTROLLER,8-BIT,PIC CPU,CMOS,SOP,28PIN,PLASTIC
Manufacturer
Microchip Technology
Series
PIC® 16Fr

Specifications of PIC16F872-E/SO

Rohs Compliant
YES
Core Processor
PIC
Core Size
8-Bit
Speed
20MHz
Connectivity
I²C, SPI
Peripherals
Brown-out Detect/Reset, POR, PWM, WDT
Number Of I /o
22
Program Memory Size
3.5KB (2K x 14)
Program Memory Type
FLASH
Eeprom Size
64 x 8
Ram Size
128 x 8
Voltage - Supply (vcc/vdd)
4 V ~ 5.5 V
Data Converters
A/D 5x10b
Oscillator Type
External
Operating Temperature
-40°C ~ 125°C
Package / Case
28-SOIC (7.5mm Width)
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
PIC16F872
MOVF
Syntax:
Operands:
Operation:
Status Affected:
Description:
MOVLW
Syntax:
Operands:
Operation:
Status Affected:
Description:
MOVWF
Syntax:
Operands:
Operation:
Status Affected:
Description:
DS30221C-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);
© 2006 Microchip Technology Inc.
255
PC,
PC
NOP
RETFIE
RETLW k

Related parts for PIC16F872-E/SO