PIC16F684-I/ML Microchip Technology Inc., PIC16F684-I/ML Datasheet - Page 122

no-image

PIC16F684-I/ML

Manufacturer Part Number
PIC16F684-I/ML
Description
MCU, 8-Bit, 2KW Flash, 128 RAM, 12 I/O, QFN-16
Manufacturer
Microchip Technology Inc.
Datasheet

Specifications of PIC16F684-I/ML

A/d Inputs
8-Channel, 10-Bit
Comparators
2
Cpu Speed
5 MIPS
Eeprom Memory
256 Bytes
Input Output
12
Memory Type
Flash
Number Of Bits
8
Package Type
16-pin QFN
Programmable Memory
3.5K Bytes
Ram Size
128 Bytes
Speed
20 MHz
Timers
2-8-bit, 1-16-bit
Voltage, Range
2-5.5 V
Lead Free Status / Rohs Status
RoHS Compliant part Electrostatic Device
PIC16F684
MOVF
Syntax:
Operands:
Operation:
Status Affected:
Description:
Words:
Cycles:
Example:
MOVLW
Syntax:
Operands:
Operation:
Status Affected: None
Description:
Words:
Cycles:
Example:
DS41202F-page 120
0 ≤ k ≤ 255
The eight-bit literal ‘k’ is loaded into
1
Move literal to W
[ label ]
k → (W)
W register. The “don’t cares” will
assemble as ‘0’s.
1
After Instruction
Move f
[ label ]
0 ≤ f ≤ 127
d ∈ [0,1]
(f) → (dest)
Z
The contents of register f is
moved to a destination dependent
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.
1
1
After Instruction
MOVLW
MOVF
W
MOVLW k
W
register
Z
MOVF f,d
0x5A
FSR, 0
=
=
=
0x5A
1
value in FSR
MOVWF
Syntax:
Operands:
Operation:
Status Affected:
Description:
Words:
Cycles:
Example:
NOP
Syntax:
Operands:
Operation:
Status Affected:
Description:
Words:
Cycles:
Example:
Move W to f
[ label ]
0 ≤ f ≤ 127
(W) → (f)
None
Move data from W register to
register ‘f’.
1
1
Before Instruction
After Instruction
No Operation
[ label ]
None
No operation
None
No operation.
1
1
MOVW
F
NOP
© 2007 Microchip Technology Inc.
OPTION =
W
OPTION =
W
MOVWF
NOP
OPTION
=
=
f
0xFF
0x4F
0x4F
0x4F

Related parts for PIC16F684-I/ML