PIC16C622A-20I/P Microchip Technology, PIC16C622A-20I/P Datasheet - Page 68

no-image

PIC16C622A-20I/P

Manufacturer Part Number
PIC16C622A-20I/P
Description
IC,MICROCONTROLLER,8-BIT,PIC CPU,CMOS,DIP,18PIN,PLASTIC
Manufacturer
Microchip Technology
Series
PIC® 16Cr
Datasheets

Specifications of PIC16C622A-20I/P

Rohs Compliant
YES
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 ~ 85°C
Package / Case
18-DIP (0.300", 7.62mm)
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
For Use With
ISPICR1 - ADAPTER IN-CIRCUIT PROGRAMMINGDVA16XP180 - ADAPTER DEVICE FOR MPLAB-ICEAC164010 - MODULE SKT PROMATEII DIP/SOIC
Eeprom Size
-
Data Converters
-
Connectivity
-
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
PIC16C62X
CLRW
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Example
CLRWDT
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Example
DS30235J-page 66
Clear W
[ label ] CLRW
None
00h → (W)
1 → Z
Z
W register is cleared. Zero bit (Z)
is set.
1
1
Before Instruction
After Instruction
Clear Watchdog Timer
[ label ] CLRWDT
None
00h → WDT
0 → WDT prescaler,
1 → TO
1 → PD
TO, PD
CLRWDT instruction resets the
Watchdog Timer. It also resets the
prescaler of the WDT. STATUS
bits TO and PD are set.
1
1
Before Instruction
After Instruction
00
CLRW
00
CLRWDT
W
W
Z
WDT counter =
WDT counter =
WDT prescaler=
TO
PD
0001
0000
=
=
=
0x5A
0x00
1
0000
0110
=
=
?
0x00
0
1
1
0011
0100
COMF
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Example
DECF
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Example
Complement f
[ label ] COMF
0 ≤ f ≤ 127
d ∈ [0,1]
(f) → (dest)
Z
The contents of register 'f' are
complemented. 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 ≤ f ≤ 127
d ∈ [0,1]
(f) - 1 → (dest)
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
00
COMF
00
DECF
 2003 Microchip Technology Inc.
REG1
REG1
W
CNT
Z
CNT
Z
1001
REG1,0
0011
CNT,
1
=
=
=
=
=
=
=
f,d
dfff
dfff
0x13
0x13
0xEC
0x01
0
0x00
1
ffff
ffff

Related parts for PIC16C622A-20I/P