PIC16C64-20I/P Microchip Technology, PIC16C64-20I/P Datasheet - Page 149
![IC MCU 2K 20MHZ OTP IT 40DIP](/photos/6/61/66192/150-40-dip_sml.jpg)
PIC16C64-20I/P
Manufacturer Part Number
PIC16C64-20I/P
Description
IC MCU 2K 20MHZ OTP IT 40DIP
Manufacturer
Microchip Technology
Series
PIC® 16Cr
Specifications of PIC16C64-20I/P
Core Processor
PIC
Core Size
8-Bit
Speed
20MHz
Connectivity
I²C, SPI
Peripherals
POR, PWM, WDT
Number Of I /o
33
Program Memory Size
3.5KB (2K x 14)
Program Memory Type
OTP
Ram Size
128 x 8
Voltage - Supply (vcc/vdd)
4 V ~ 6 V
Oscillator Type
External
Operating Temperature
-40°C ~ 85°C
Package / Case
40-DIP (0.600", 15.24mm)
Lead Free Status / RoHS Status
Request inventory verification / Request inventory verification
Eeprom Size
-
Data Converters
-
- Current page: 149 of 337
- Download datasheet (3Mb)
COMF
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Q Cycle Activity:
Example
DECF
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Q Cycle Activity:
Example
1997 Microchip Technology Inc.
Complement f
[ label ] COMF
0
d
(f)
Z
The contents of register 'f' are comple-
mented. If 'd' is 0 the result is stored in
W. If 'd' is 1 the result is stored back in
register 'f'.
1
1
Before Instruction
After Instruction
Decrement f
[ label ] DECF f,d
0
d
(f) - 1
Z
Decrement 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
Decode
COMF
Decode
DECF
Q1
Q1
00
00
f
f
[0,1]
[0,1]
(destination)
127
127
(destination)
REG1
REG1
W
CNT
Z
CNT
Z
register
register
1001
0011
CNT, 1
Read
Read
Q2
Q2
'f'
'f'
REG1,0
=
=
=
=
=
=
=
f,d
Process
Process
dfff
dfff
data
data
Q3
Q3
0x13
0x13
0xEC
0x01
0
0x00
1
destination
destination
ffff
ffff
Write to
Write to
Q4
Q4
.
DECFSZ
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Q Cycle Activity:
Example
If Skip:
Decrement f, Skip if 0
[ label ] DECFSZ f,d
0
d
(f) - 1
skip if result = 0
None
The contents of register 'f' are decre-
mented. If 'd' is 0 the result is placed in the
W register. If 'd' is 1 the result is placed
back in register 'f'.
If the result is 1, the next instruction, is
executed. If the result is 0, then a NOP is
executed instead making it a 2T
tion.
1
1(2)
Before Instruction
After Instruction
(2nd Cycle)
Operation
HERE
CONTINUE •
Decode
Q1
Q1
00
No-
f
PC
CNT
if CNT =
PC
if CNT
PC
[0,1]
127
PIC16C6X
(destination);
Operation
=
=
=
=
register 'f'
1011
Read
DECFSZ
GOTO
•
•
Q2
Q2
No-
address
CNT - 1
0,
address CONTINUE
0,
address HERE+1
DS30234D-page 149
Operation
dfff
Process
data
Q3
Q3
No-
HERE
CNT, 1
LOOP
CY
destination
Operation
instruc-
ffff
Write to
Q4
Q4
No-
Related parts for PIC16C64-20I/P
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
![PIC16C64-04/P](/photos/6/61/66192/150-40-dip_tmb.jpg)
Part Number:
Description:
MICRO CTRL 2K X 14 OTP 40 DIP
Manufacturer:
Microchip Technology
Datasheet:
![PIC16C64-20/P](/photos/6/61/66192/150-40-dip_tmb.jpg)
Part Number:
Description:
MICRO CTRL 2K X 14 OTP 40 DIP
Manufacturer:
Microchip Technology
Datasheet:
![PIC16C64-20/L](/photos/6/63/66325/150-44-plcc_tmb.jpg)
Part Number:
Description:
MICRO CTRL 2K X 14 OTP 44 PLCC
Manufacturer:
Microchip Technology
Datasheet:
![PIC16C64/JW](/photos/6/63/66338/150-40-cdip_tmb.jpg)
Part Number:
Description:
MICRO CTRL 2K X 14 EPROM 40 CDIP
Manufacturer:
Microchip Technology
Datasheet:
![PIC16C64-04/L](/photos/6/63/66325/150-44-plcc_tmb.jpg)
Part Number:
Description:
MICRO CTRL 2K X 14 OTP 44 PLCC
Manufacturer:
Microchip Technology
Datasheet:
![PIC16C64-10/P](/photos/6/61/66192/150-40-dip_tmb.jpg)
Part Number:
Description:
MICRO CTRL 2K X 14 OTP 40 DIP
Manufacturer:
Microchip Technology
Datasheet:
![PIC16C64-10/L](/photos/6/63/66325/150-44-plcc_tmb.jpg)
Part Number:
Description:
MICRO CTRL 2K X 14 OTP 44 PLCC
Manufacturer:
Microchip Technology
Datasheet:
![PIC16C64-04/PQ](/images/manufacturer_photos/0/4/439/microchip_technology_tmb.jpg)
Part Number:
Description:
8-Bit CMOS Microcontrollers
Manufacturer:
Microchip Technology
Datasheet:
![PIC16C64-04/TQ](/images/manufacturer_photos/0/4/439/microchip_technology_tmb.jpg)
Part Number:
Description:
8-Bit CMOS Microcontrollers
Manufacturer:
Microchip Technology
![PIC16C64-04E/L](/images/manufacturer_photos/0/4/439/microchip_technology_tmb.jpg)
Part Number:
Description:
8-Bit CMOS Microcontrollers
Manufacturer:
Microchip Technology
![PIC16C64-04E/TQ](/images/manufacturer_photos/0/4/439/microchip_technology_tmb.jpg)
Part Number:
Description:
8-Bit CMOS Microcontrollers
Manufacturer:
Microchip Technology
![PIC16C64-10/PQ](/images/manufacturer_photos/0/4/439/microchip_technology_tmb.jpg)
Part Number:
Description:
8-Bit CMOS Microcontrollers
Manufacturer:
Microchip Technology
![PIC16C64-10E/PQ](/images/manufacturer_photos/0/4/439/microchip_technology_tmb.jpg)
Part Number:
Description:
8-Bit CMOS Microcontrollers
Manufacturer:
Microchip Technology
![PIC16C64-10E/SO](/images/manufacturer_photos/0/4/439/microchip_technology_tmb.jpg)
Part Number:
Description:
8-Bit CMOS Microcontrollers
Manufacturer:
Microchip Technology
![PIC16C64-10E/SP](/images/manufacturer_photos/0/4/439/microchip_technology_tmb.jpg)
Part Number:
Description:
8-Bit CMOS Microcontrollers
Manufacturer:
Microchip Technology