PIC16C57-10/SP Microchip Technology, PIC16C57-10/SP Datasheet - Page 56
![IC MCU OTP 2KX12 28DIP](/photos/6/59/65908/150-28-dip_sml.jpg)
PIC16C57-10/SP
Manufacturer Part Number
PIC16C57-10/SP
Description
IC MCU OTP 2KX12 28DIP
Manufacturer
Microchip Technology
Series
PIC® 16Cr
Specifications of PIC16C57-10/SP
Core Processor
PIC
Core Size
8-Bit
Speed
10MHz
Peripherals
POR, WDT
Number Of I /o
20
Program Memory Size
3KB (2K x 12)
Program Memory Type
OTP
Ram Size
72 x 8
Voltage - Supply (vcc/vdd)
4.5 V ~ 5.5 V
Oscillator Type
External
Operating Temperature
0°C ~ 70°C
Package / Case
28-DIP (0.300", 7.62mm)
For Use With
DVA16XP280 - ADAPTER DEVICE FOR MPLAB-ICE
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Eeprom Size
-
Data Converters
-
Connectivity
-
- Current page: 56 of 194
- Download datasheet (3Mb)
PIC16C5X
COMF
Syntax:
Operands:
Operation:
Status Affected: Z
Encoding:
Description:
Words:
Cycles:
Example:
DECF
Syntax:
Operands:
Operation:
Status Affected: Z
Encoding:
Description:
Words:
Cycles:
Example:
DS30453D-page 54
Before Instruction
After Instruction
Before Instruction
After Instruction
REG1
REG1
W
CNT
Z
CNT
Z
Decrement register 'f'. If 'd' is 0 the
Complement f
[ label ] COMF
0
d
(f)
The contents of register ’f’ are
complemented. 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
COMF
Decrement f
[ label ] DECF f,d
0
d
(f) – 1
result is stored in the W register. If
'd' is 1 the result is stored back in
register 'f'.
1
1
DECF
0010
0000
=
=
=
=
=
=
=
f
f
[0,1]
[0,1]
(dest)
0x13
0x13
0xEC
31
31
0x01
0
0x00
1
REG1,0
(dest)
01df
11df
CNT, 1
f,d
ffff
ffff
Preliminary
DECFSZ
Syntax:
Operands:
Operation:
Status Affected: None
Encoding:
Description:
Words:
Cycles:
Example:
Before Instruction
After Instruction
PC
CNT
if CNT
PC
if CNT
PC
Decrement f, Skip if 0
[ label ] DECFSZ f,d
0
d
(f) – 1
The contents of register 'f' are dec-
remented. 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 0, the next instruc-
tion, which is already fetched, is
discarded and a NOP is executed
instead making it a two-cycle
instruction.
1
1(2)
HERE
CONTINUE •
0010
=
=
=
=
=
f
[0,1]
address(HERE)
CNT - 1;
0,
address (CONTINUE);
0,
address (HERE+1)
31
2002 Microchip Technology Inc.
d;
11df
DECFSZ
GOTO
•
•
skip if result = 0
ffff
CNT, 1
LOOP
Related parts for PIC16C57-10/SP
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
![PIC16C57-RCI/P](/photos/7/29/72985/150-28-dip_wide_tmb.jpg)
Part Number:
Description:
IC,MICROCONTROLLER,8-BIT,PIC CPU,CMOS,DIP,28PIN,PLASTIC
Manufacturer:
Microchip Technology
Datasheet:
![PIC16C57-RC/P](/photos/7/29/72985/150-28-dip_wide_tmb.jpg)
Part Number:
Description:
IC MCU OTP 2KX12 28DIP
Manufacturer:
Microchip Technology
Datasheet:
![PIC16C57-RC/SO](/photos/6/59/65909/150-28-soic_tmb.jpg)
Part Number:
Description:
IC MCU OTP 2KX12 28SOIC
Manufacturer:
Microchip Technology
Datasheet:
![PIC16C57-XT/SP](/photos/6/59/65908/150-28-dip_tmb.jpg)
Part Number:
Description:
IC MCU OTP 2KX12 28DIP
Manufacturer:
Microchip Technology
Datasheet:
![PIC16C57-XTI/P](/photos/7/29/72985/150-28-dip_wide_tmb.jpg)
Part Number:
Description:
IC MCU OTP 2KX12 28DIP
Manufacturer:
Microchip Technology
Datasheet:
![PIC16C57-HS/P](/photos/7/29/72985/150-28-dip_wide_tmb.jpg)
Part Number:
Description:
IC MCU OTP 2KX12 28DIP
Manufacturer:
Microchip Technology
Datasheet:
![PIC16C57-HSI/SO](/photos/6/59/65909/150-28-soic_tmb.jpg)
Part Number:
Description:
IC MCU OTP 2KX12 28SOIC
Manufacturer:
Microchip Technology
Datasheet:
![PIC16C57-RCI/SP](/photos/6/59/65908/150-28-dip_tmb.jpg)
Part Number:
Description:
IC MCU OTP 2KX12 28DIP
Manufacturer:
Microchip Technology
Datasheet:
![PIC16C57-RCI/SO](/photos/6/59/65909/150-28-soic_tmb.jpg)
Part Number:
Description:
IC MCU OTP 2KX12 28SOIC
Manufacturer:
Microchip Technology
Datasheet:
![PIC16C57-XTI/SP](/photos/6/59/65908/150-28-dip_tmb.jpg)
Part Number:
Description:
IC MCU OTP 2KX12 28DIP
Manufacturer:
Microchip Technology
Datasheet:
![PIC16C57-XT/P](/photos/7/29/72985/150-28-dip_wide_tmb.jpg)
Part Number:
Description:
IC MCU OTP 2KX12 28DIP
Manufacturer:
Microchip Technology
Datasheet:
![PIC16C57-XT/SO](/photos/6/59/65909/150-28-soic_tmb.jpg)
Part Number:
Description:
IC MCU OTP 2KX12 28SOIC
Manufacturer:
Microchip Technology
Datasheet:
![PIC16C57-HSI/P](/photos/7/29/72985/150-28-dip_wide_tmb.jpg)
Part Number:
Description:
IC MCU OTP 2KX12 28DIP
Manufacturer:
Microchip Technology
Datasheet:
![PIC16C57-HSE/SO](/photos/6/59/65909/150-28-soic_tmb.jpg)
Part Number:
Description:
IC MCU OTP 2KX12 28SOIC
Manufacturer:
Microchip Technology
Datasheet: