PIC16C622/JW Microchip Technology, PIC16C622/JW Datasheet - Page 66
![IC MCU EPROM 2KX14 COMP 18CDIP](/photos/12/13/121351/150-18-cdip_sml.jpg)
PIC16C622/JW
Manufacturer Part Number
PIC16C622/JW
Description
IC MCU EPROM 2KX14 COMP 18CDIP
Manufacturer
Microchip Technology
Series
PIC® 16Cr
Specifications of PIC16C622/JW
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
EPROM, UV
Ram Size
128 x 8
Voltage - Supply (vcc/vdd)
3 V ~ 6 V
Oscillator Type
External
Operating Temperature
0°C ~ 70°C
Package / Case
18-CDIP (0.300", 7.62mm) Window
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Eeprom Size
-
Data Converters
-
Connectivity
-
Other names
PIC16C622/JWR
PIC16C622/JWR
PIC16C622/JWR
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
PIC16C62X
BCF
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Example
BSF
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Example
DS30235J-page 64
Bit Clear f
[ label ] BCF
0 ≤ f ≤ 127
0 ≤ b ≤ 7
0 → (f<b>)
None
Bit 'b' in register 'f' is cleared.
1
1
Before Instruction
After Instruction
Bit Set f
[ label ] BSF
0 ≤ f ≤ 127
0 ≤ b ≤ 7
1 → (f<b>)
None
Bit 'b' in register 'f' is set.
1
1
Before Instruction
After Instruction
01
BCF
01
BSF
FLAG_REG = 0xC7
FLAG_REG = 0x47
FLAG_REG = 0x0A
FLAG_REG = 0x8A
00bb
FLAG_REG, 7
01bb
FLAG_REG,
f,b
f,b
bfff
bfff
7
ffff
ffff
BTFSC
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Example
Bit Test, Skip if Clear
[ label ] BTFSC f,b
0 ≤ f ≤ 127
0 ≤ b ≤ 7
skip if (f<b>) = 0
None
If bit 'b' in register 'f' is '0', then the
next instruction is skipped.
If bit 'b' is '0', then the next instruc-
tion fetched during the current
instruction execution is discarded,
and a NOP is executed instead,
making this a two-cycle instruction.
1
1(2)
Before Instruction
After Instruction
HERE
FALSE
TRUE
01
2003 Microchip Technology Inc.
PC =
if FLAG<1> = 0,
PC =
if FLAG<1>=1,
PC =
10bb
BTFSC
GOTO
•
•
•
address HERE
address TRUE
address FALSE
FLAG,1
PROCESS_CO
DE
bfff
ffff