PIC16LC642-04/SO Microchip Technology, PIC16LC642-04/SO Datasheet - Page 81

IC MCU OTP 4KX14 COMP 28SOIC

PIC16LC642-04/SO

Manufacturer Part Number
PIC16LC642-04/SO
Description
IC MCU OTP 4KX14 COMP 28SOIC
Manufacturer
Microchip Technology
Series
PIC® 16Cr
Datasheet

Specifications of PIC16LC642-04/SO

Core Processor
PIC
Core Size
8-Bit
Speed
4MHz
Peripherals
Brown-out Detect/Reset, LED, POR, WDT
Number Of I /o
22
Program Memory Size
7KB (4K x 14)
Program Memory Type
OTP
Ram Size
176 x 8
Voltage - Supply (vcc/vdd)
3 V ~ 6 V
Oscillator Type
External
Operating Temperature
0°C ~ 70°C
Package / Case
28-SOIC (7.5mm Width)
Processor Series
PIC16LC
Core
PIC
Data Bus Width
8 bit
Data Ram Size
176 B
Interface Type
RS- 232
Maximum Clock Frequency
4 MHz
Number Of Programmable I/os
22
Number Of Timers
8
Operating Supply Voltage
3 V to 6 V
Maximum Operating Temperature
+ 70 C
Mounting Style
SMD/SMT
3rd Party Development Tools
52715-96, 52716-328, 52717-734
Development Tools By Supplier
ICE2000, DM163022
Minimum Operating Temperature
0 C
On-chip Adc
10 bit
Data Rom Size
176 B
Height
2.31 mm
Length
17.87 mm
Supply Voltage (max)
6 V
Supply Voltage (min)
3 V
Width
7.49 mm
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Eeprom Size
-
Data Converters
-
Connectivity
-
Lead Free Status / Rohs Status
 Details
IORWF
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Example
MOVLW
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Example
1996 Microchip Technology Inc.
Inclusive OR W with f
[ label ]
0
d
(W) .OR. (f)
Z
Inclusive OR the W register with regis-
ter 'f'. If 'd' is 0 the result is placed in
the W register. If 'd' is 1 the result is
placed back in register 'f'.
1
1
Before Instruction
After Instruction
Move Literal to W
[ label ]
0
k
None
The eight bit literal 'k' is loaded into W
register
as 0’s.
1
1
After Instruction
IORWF
MOVLW
00
11
f
k
[0,1]
(W)
.
127
255
The don’t cares will assemble
RESULT =
W
RESULT =
W
Z
W
IORWF
MOVLW k
0100
00xx
0x5A
=
(dest)
RESULT, 0
=
=
=
0x5A
dfff
kkkk
f,d
0x13
0x91
0x13
0x93
1
ffff
kkkk
PIC16C64X & PIC16C66X
MOVF
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Example
MOVWF
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Example
Move f
[ label ]
0
d
(f)
Z
The contents of register f is moved to
a destination dependant upon the sta-
tus of d. If d = 0, destination is W reg-
ister. 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 W to f
[ label ]
0
(W)
None
Move data from W register to register
'f'
1
1
Before Instruction
After Instruction
.
MOVF
MOVWF
00
00
f
f
[0,1]
(dest)
127
127
(f)
W = value in FSR register
Z = 1
OPTION =
W
OPTION =
W
MOVF f,d
MOVWF
1000
0000
FSR, 0
OPTION
DS30559A-page 81
=
=
dfff
1fff
f
0xFF
0x4F
0x4F
0x4F
ffff
ffff

Related parts for PIC16LC642-04/SO