PIC16C620-04E/SO Microchip Technology, PIC16C620-04E/SO Datasheet - Page 65
![IC MCU OTP 512X14 COMP 18SOIC](/photos/6/76/67656/150-18-soic_sml.jpg)
PIC16C620-04E/SO
Manufacturer Part Number
PIC16C620-04E/SO
Description
IC MCU OTP 512X14 COMP 18SOIC
Manufacturer
Microchip Technology
Series
PIC® 16Cr
Specifications of PIC16C620-04E/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
896B (512 x 14)
Program Memory Type
OTP
Ram Size
80 x 8
Voltage - Supply (vcc/vdd)
3 V ~ 6 V
Oscillator Type
External
Operating Temperature
-40°C ~ 125°C
Package / Case
18-SOIC (7.5mm Width)
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Eeprom Size
-
Data Converters
-
Connectivity
-
- Current page: 65 of 128
- Download datasheet (4Mb)
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
Related parts for PIC16C620-04E/SO
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
![PIC16C620-04/P](/photos/6/76/67657/18-dip_300mil__tmb.jpg)
Part Number:
Description:
IC MCU OTP 512X14 COMP 18DIP
Manufacturer:
Microchip Technology
Datasheet:
![PIC16C620-04I/SO](/photos/6/76/67656/150-18-soic_tmb.jpg)
Part Number:
Description:
IC MCU OTP 512X14 COMP 18SOIC
Manufacturer:
Microchip Technology
Datasheet:
![PIC16C620-04/SO](/photos/6/76/67656/150-18-soic_tmb.jpg)
Part Number:
Description:
IC MCU OTP 512X14 COMP 18SOIC
Manufacturer:
Microchip Technology
Datasheet:
![PIC16C620-20/P](/photos/6/76/67657/18-dip_300mil__tmb.jpg)
Part Number:
Description:
IC MCU OTP 512X14 COMP 18DIP
Manufacturer:
Microchip Technology
Datasheet:
![PIC16C620-04I/SS](/photos/6/58/65895/150-20-ssop_tmb.jpg)
Part Number:
Description:
IC MCU OTP 512X14 COMP 20SSOP
Manufacturer:
Microchip Technology
Datasheet:
![PIC16C620](/images/manufacturer_photos/0/4/439/microchip_technology_tmb.jpg)
Part Number:
Description:
EPROM-Based 8-Bit CMOS Microcontroller
Manufacturer:
Microchip Technology
Datasheet:
![PIC16C620-04/SS](/photos/6/58/65895/150-20-ssop_tmb.jpg)
Part Number:
Description:
IC MCU OTP 512X14 COMP 20SSOP
Manufacturer:
Microchip Technology
Datasheet:
![PIC16C620-20/SO](/photos/6/76/67656/150-18-soic_tmb.jpg)
Part Number:
Description:
IC MCU OTP 512X14 COMP 18SOIC
Manufacturer:
Microchip Technology
Datasheet:
![PIC16C620-04I/P](/photos/6/76/67657/18-dip_300mil__tmb.jpg)
Part Number:
Description:
IC MCU OTP 512X14 COMP 18DIP
Manufacturer:
Microchip Technology
Datasheet:
![PIC16C620-04E/P](/photos/6/76/67657/18-dip_300mil__tmb.jpg)
Part Number:
Description:
IC MCU OTP 512X14 COMP 18DIP
Manufacturer:
Microchip Technology
Datasheet:
![PIC16C620-20/SS](/photos/6/58/65895/150-20-ssop_tmb.jpg)
Part Number:
Description:
IC MCU OTP 512X14 COMP 20SSOP
Manufacturer:
Microchip Technology
Datasheet:
![PIC16C620-20I/P](/photos/6/76/67657/18-dip_300mil__tmb.jpg)
Part Number:
Description:
IC MCU OTP 512X14 COMP 18DIP
Manufacturer:
Microchip Technology
Datasheet:
![PIC16C620-20I/SO](/photos/6/76/67656/150-18-soic_tmb.jpg)
Part Number:
Description:
IC MCU OTP 512X14 COMP 18SOIC
Manufacturer:
Microchip Technology
Datasheet:
![PIC16C620-04E/SS](/photos/6/58/65895/150-20-ssop_tmb.jpg)
Part Number:
Description:
IC MCU OTP 512X14 COMP 20SSOP
Manufacturer:
Microchip Technology
Datasheet:
![PIC16C620-20I/SS](/photos/6/58/65895/150-20-ssop_tmb.jpg)
Part Number:
Description:
IC MCU OTP 512X14 COMP 20SSOP
Manufacturer:
Microchip Technology
Datasheet: