PIC16F636-I/P Microchip Technology Inc., PIC16F636-I/P Datasheet - Page 138

no-image

PIC16F636-I/P

Manufacturer Part Number
PIC16F636-I/P
Description
14 PIN, 3.5 KB FLASH, 128 RAM, 12 I/O
Manufacturer
Microchip Technology Inc.
Datasheet

Specifications of PIC16F636-I/P

Comparators
2
Cpu Speed
5 MIPS
Eeprom Memory
256 Bytes
Input Output
12
Memory Type
Flash
Number Of Bits
8
Package Type
14-pin PDIP
Programmable Memory
3.5K Bytes
Ram Size
128 Bytes
Speed
20 MHz
Timers
1-8-bit, 1-16-bit
Voltage, Range
2-5.5 V
Lead Free Status / Rohs Status
RoHS Compliant part Electrostatic Device
PIC12F635/PIC16F636/639
MOVF
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Example:
MOVLW
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Example:
DS41232B-page 136
Move f
[ label ]
0
d
(f)
Z
The contents of register ‘f’ are
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
Move Literal to W
[ label ]
0
k
None
The eight-bit literal ‘k’ is loaded
into the W register. The “don’t
cares” will assemble as ‘0’s
1
1
After Instruction
MOVF
MOVLW
00
11
f
k
[0,1]
(W)
(dest)
127
255
W = value in FSR register
Z
W
MOVF f,d
MOVLW k
FSR,
0x5A
1000
00xx
= 1
=
0
0x5A
dfff
kkkk
.
ffff
kkkk
Preliminary
MOVWF
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Example:
NOP
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Example:
Move W to f
[ label ]
0
(W)
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
MOVWF
NOP
00
00
f
© 2005 Microchip Technology Inc.
127
(f)
OPTION =
W
OPTION =
W
MOVWF
NOP
OPTION
0000
0000
=
=
1fff
0xx0
f
0xFF
0x4F
0x4F
0x4F
ffff
0000

Related parts for PIC16F636-I/P