PIC16C622-04E/P Microchip Technology, PIC16C622-04E/P Datasheet - Page 69
![IC MCU OTP 2KX14 COMP 18DIP](/photos/6/76/67657/18-dip_300mil__sml.jpg)
PIC16C622-04E/P
Manufacturer Part Number
PIC16C622-04E/P
Description
IC MCU OTP 2KX14 COMP 18DIP
Manufacturer
Microchip Technology
Series
PIC® 16Cr
Specifications of PIC16C622-04E/P
Core Processor
PIC
Core Size
8-Bit
Speed
4MHz
Peripherals
Brown-out Detect/Reset, POR, WDT
Number Of I /o
13
Program Memory Size
3.5KB (2K x 14)
Program Memory Type
OTP
Ram Size
128 x 8
Voltage - Supply (vcc/vdd)
3 V ~ 6 V
Oscillator Type
External
Operating Temperature
-40°C ~ 125°C
Package / Case
18-DIP (0.300", 7.62mm)
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Eeprom Size
-
Data Converters
-
Connectivity
-
- Current page: 69 of 128
- Download datasheet (4Mb)
DECFSZ
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Example
GOTO
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Example
2003 Microchip Technology Inc.
Decrement f, Skip if 0
[ label ] DECFSZ f,d
0 ≤ f ≤ 127
d ∈ [0,1]
(f) - 1 → (dest);
None
The contents of register 'f' are
decremented. 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. A NOP is executed
instead making it a two-cycle
instruction.
1
1(2)
Before Instruction
After Instruction
Unconditional Branch
[ label ]
0 ≤ k ≤ 2047
k → PC<10:0>
PCLATH<4:3> → PC<12:11>
None
GOTO is an unconditional branch.
The eleven bit immediate value is
loaded into PC bits <10:0>. The
upper bits of PC are loaded from
PCLATH<4:3>. GOTO is a two-
cycle instruction.
1
2
After Instruction
00
HERE
CONTINUE •
10
GOTO THERE
PC
CNT
if CNT =
PC
if CNT ≠
PC
PC =
GOTO k
=
=
=
=
1kkk
1011
DECFSZ
GOTO
•
•
address
CNT - 1
0,
address CONTINUE
0,
address HERE+1
Address THERE
skip if result = 0
dfff
kkkk
HERE
CNT, 1
LOOP
ffff
kkkk
INCF
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Example
Increment f
[ label ]
0 ≤ f ≤ 127
d ∈ [0,1]
(f) + 1 → (dest)
Z
The contents of register 'f' are
incremented. 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
00
INCF
PIC16C62X
CNT
Z
CNT
Z
INCF f,d
1010
CNT,
1
DS30235J-page 67
=
=
=
=
dfff
0xFF
0
0x00
1
ffff
Related parts for PIC16C622-04E/P
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
![PIC16C622-04/SO](/photos/6/76/67656/150-18-soic_tmb.jpg)
Part Number:
Description:
IC MCU OTP 2KX14 COMP 18SOIC
Manufacturer:
Microchip Technology
Datasheet:
![PIC16C622-20/SO](/photos/6/76/67656/150-18-soic_tmb.jpg)
Part Number:
Description:
IC MCU OTP 2KX14 COMP 18SOIC
Manufacturer:
Microchip Technology
Datasheet:
![PIC16C622-20/P](/photos/6/76/67657/18-dip_300mil__tmb.jpg)
Part Number:
Description:
IC MCU OTP 2KX14 COMP 18DIP
Manufacturer:
Microchip Technology
Datasheet:
![PIC16C622-04I/P](/photos/6/76/67657/18-dip_300mil__tmb.jpg)
Part Number:
Description:
IC MCU OTP 2KX14 COMP 18DIP
Manufacturer:
Microchip Technology
Datasheet:
![PIC16C622/JW](/photos/12/13/121351/150-18-cdip_tmb.jpg)
Part Number:
Description:
IC MCU EPROM 2KX14 COMP 18CDIP
Manufacturer:
Microchip Technology
Datasheet:
![PIC16C622-04/P](/photos/6/76/67657/18-dip_300mil__tmb.jpg)
Part Number:
Description:
IC MCU OTP 2KX14 COMP 18DIP
Manufacturer:
Microchip Technology
Datasheet:
![PIC16C622-20I/P](/photos/6/76/67657/18-dip_300mil__tmb.jpg)
Part Number:
Description:
IC MCU OTP 2KX14 COMP 18DIP
Manufacturer:
Microchip Technology
Datasheet:
![PIC16C622-20I/SO](/photos/6/76/67656/150-18-soic_tmb.jpg)
Part Number:
Description:
IC MCU OTP 2KX14 COMP 18SOIC
Manufacturer:
Microchip Technology
Datasheet:
![PIC16C622-04/SS](/photos/6/58/65895/150-20-ssop_tmb.jpg)
Part Number:
Description:
IC MCU OTP 2KX14 COMP 20SSOP
Manufacturer:
Microchip Technology
Datasheet:
![PIC16C622-04I/SS](/photos/6/58/65895/150-20-ssop_tmb.jpg)
Part Number:
Description:
IC MCU OTP 2KX14 COMP 20SSOP
Manufacturer:
Microchip Technology
Datasheet:
![PIC16C622-20E/SO](/photos/6/76/67656/150-18-soic_tmb.jpg)
Part Number:
Description:
IC MCU OTP 2KX14 COMP 18SOIC
Manufacturer:
Microchip Technology
Datasheet:
![PIC16C622-04E/SS](/photos/6/58/65895/150-20-ssop_tmb.jpg)
Part Number:
Description:
IC MCU OTP 2KX14 COMP 20SSOP
Manufacturer:
Microchip Technology
Datasheet:
![PIC16C622-20I/SS](/photos/6/58/65895/150-20-ssop_tmb.jpg)
Part Number:
Description:
IC MCU OTP 2KX14 COMP 20SSOP
Manufacturer:
Microchip Technology
Datasheet:
![PIC16C622-20E/SS](/photos/6/58/65895/150-20-ssop_tmb.jpg)
Part Number:
Description:
IC MCU OTP 2KX14 COMP 20SSOP
Manufacturer:
Microchip Technology
Datasheet:
![PIC16C622-20/SS](/photos/6/58/65895/150-20-ssop_tmb.jpg)
Part Number:
Description:
IC MCU OTP 2KX14 COMP 20SSOP
Manufacturer:
Microchip Technology
Datasheet: