PIC16LC621-04/SO Microchip Technology, PIC16LC621-04/SO Datasheet - Page 65
![IC MCU OTP 1KX14 COMP 18SOIC](/photos/6/76/67656/150-18-soic_sml.jpg)
PIC16LC621-04/SO
Manufacturer Part Number
PIC16LC621-04/SO
Description
IC MCU OTP 1KX14 COMP 18SOIC
Manufacturer
Microchip Technology
Series
PIC® 16Cr
Datasheet
1.PIC16C620A-04SO.pdf
(128 pages)
Specifications of PIC16LC621-04/SO
Core Processor
PIC
Core Size
8-Bit
Speed
4MHz
Peripherals
Brown-out Detect/Reset, POR, WDT
Number Of I /o
13
Program Memory Size
1.75KB (1K x 14)
Program Memory Type
OTP
Ram Size
80 x 8
Voltage - Supply (vcc/vdd)
2.5 V ~ 6 V
Oscillator Type
External
Operating Temperature
0°C ~ 70°C
Package / Case
18-SOIC (7.5mm Width)
Core
PIC
Processor Series
PIC16LC
Data Bus Width
8 bit
Maximum Clock Frequency
4 MHz
Data Ram Size
96 B
Data Rom Size
80 B
Number Of Programmable I/os
13
Number Of Timers
8
Operating Supply Voltage
2.5 V to 6 V
Mounting Style
SMD/SMT
Height
2.05 mm
Length
11.55 mm
Maximum Operating Temperature
+ 70 C
Minimum Operating Temperature
0 C
Supply Voltage (max)
5.5 V
Supply Voltage (min)
2.5 V
Width
7.5 mm
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
Eeprom Size
-
Data Converters
-
Connectivity
-
Lead Free Status / Rohs Status
Details
10.1
ADDLW
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Example
ADDWF
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Example
2003 Microchip Technology Inc.
Instruction Descriptions
Add Literal and W
[ label ] ADDLW
0 ≤ k ≤ 255
(W) + k → (W)
C, DC, Z
The contents of the W register are
added to the eight bit literal 'k' and
the result is placed in the W
register.
1
1
Before Instruction
After Instruction
Add W and f
[ label ] ADDWF
0 ≤ f ≤ 127
d ∈ [0,1]
(W) + (f) → (dest)
C, DC, Z
Add the contents of the W register
with register 'f'. If 'd' is 0, the result
is stored in the W register. If 'd' is
1, the result is stored back in
register 'f'.
1
1
Before Instruction
After Instruction
11
ADDLW
00
ADDWF
W
W
W
FSR =
W
FSR =
111x
0x15
0111
FSR,
=
=
=
=
0
0x25
0xC2
0xC2
0x10
0x17
0xD9
kkkk
dfff
k
f,d
kkkk
ffff
ANDLW
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Example
ANDWF
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Example
AND Literal with W
[ label ] ANDLW
0 ≤ k ≤ 255
(W) .AND. (k) → (W)
Z
The contents of W register are
AND’ed with the eight bit literal 'k'.
The result is placed in the W
register.
1
1
Before Instruction
After Instruction
AND W with f
[ label ] ANDWF
0 ≤ f ≤ 127
d ∈ [0,1]
(W) .AND. (f) → (dest)
Z
AND the W register with register
'f'. If 'd' is 0, the result is stored in
the W register. If 'd' is 1, the result
is stored back in register 'f'.
1
1
Before Instruction
After Instruction
11
ANDLW
00
ANDWF
PIC16C62X
W
W
FSR =
W
FSR =
W =
1001
0x5F
0101
FSR,
=
=
=
1
DS30235J-page 63
0xA3
0x03
0x17
0xC2
0x17
0x02
kkkk
dfff
k
f,d
kkkk
ffff