PIC16C622A-20E/P Microchip Technology, PIC16C622A-20E/P Datasheet - Page 70
![IC MCU OTP 2KX14 COMP 18DIP](/photos/6/76/67657/18-dip_300mil__sml.jpg)
PIC16C622A-20E/P
Manufacturer Part Number
PIC16C622A-20E/P
Description
IC MCU OTP 2KX14 COMP 18DIP
Manufacturer
Microchip Technology
Series
PIC® 16Cr
Specifications of PIC16C622A-20E/P
Core Processor
PIC
Core Size
8-Bit
Speed
20MHz
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)
2.5 V ~ 5.5 V
Oscillator Type
External
Operating Temperature
-40°C ~ 125°C
Package / Case
18-DIP (0.300", 7.62mm)
Processor Series
PIC16C
Core
PIC
Data Bus Width
8 bit
Data Ram Size
128 B
Maximum Clock Frequency
40 MHz
Number Of Programmable I/os
13
Number Of Timers
8
Operating Supply Voltage
3 V to 5.5 V
Maximum Operating Temperature
+ 125 C
Mounting Style
Through Hole
3rd Party Development Tools
52715-96, 52716-328, 52717-734
Development Tools By Supplier
ICE2000, DM163022
Minimum Operating Temperature
- 40 C
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Eeprom Size
-
Data Converters
-
Connectivity
-
Lead Free Status / Rohs Status
Details
PIC16C62X
INCFSZ
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Example
IORLW
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Example
DS30235J-page 68
Increment f, Skip if 0
[ label ]
0 ≤ f ≤ 127
d ∈ [0,1]
(f) + 1 → (dest), skip if result = 0
None
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'.
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
Inclusive OR Literal with W
[ label ]
0 ≤ k ≤ 255
(W) .OR. k → (W)
Z
The contents of the W register is
OR’ed with the eight bit literal 'k'.
The result is placed in the W
register.
1
1
Before Instruction
After Instruction
00
HERE
CONTINUE •
11
IORLW
PC
CNT
if CNT=
PC
if CNT≠
PC
W
W
Z
INCFSZ f,d
IORLW k
=
=
=
=
1111
1000
0x35
INCFSZ
GOTO
•
•
=
=
=
address HERE
CNT + 1
0,
address CONTINUE
0,
address HERE +1
0x9A
0xBF
1
dfff
kkkk
LOOP
CNT,
ffff
kkkk
1
IORWF
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Example
MOVLW
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Example
Inclusive OR W with f
[ label ]
0 ≤ f ≤ 127
d ∈ [0,1]
(W) .OR. (f) → (dest)
Z
Inclusive OR the W register with
register 'f'. 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
Move Literal to W
[ label ]
0 ≤ k ≤ 255
k → (W)
None
The eight bit literal 'k' is loaded
into W register. The don’t cares
will assemble as 0’s
1
1
After Instruction
00
IORWF
11
MOVLW
2003 Microchip Technology Inc.
RESULT =
W
RESULT =
W
Z
W
IORWF
MOVLW k
0100
00xx
0x5A
=
RESULT, 0
=
=
=
0x5A
dfff
kkkk
f,d
.
0x13
0x91
0x13
0x93
1
ffff
kkkk