PIC16C621-04/SS Microchip Technology, PIC16C621-04/SS Datasheet - Page 67
![IC MCU OTP 1KX14 COMP 20SSOP](/photos/6/58/65895/150-20-ssop_sml.jpg)
PIC16C621-04/SS
Manufacturer Part Number
PIC16C621-04/SS
Description
IC MCU OTP 1KX14 COMP 20SSOP
Manufacturer
Microchip Technology
Series
PIC® 16Cr
Specifications of PIC16C621-04/SS
Core Processor
PIC
Core Size
8-Bit
Speed
4MHz
Peripherals
Brown-out Detect/Reset, POR, WDT
Number Of I /o
13
Program Memory Size
1.75KB (1K x 14)
Program Memory Type
OTP
Ram Size
80 x 8
Voltage - Supply (vcc/vdd)
3 V ~ 6 V
Oscillator Type
External
Operating Temperature
0°C ~ 70°C
Package / Case
20-SSOP
For Use With
309-1016 - ADAPTER 20-SSOP TO 18-DIP
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Eeprom Size
-
Data Converters
-
Connectivity
-
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC16C621-04/SS
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
BTFSS
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Example
2003 Microchip Technology Inc.
Bit Test f, Skip if Set
[ label ] BTFSS f,b
0 ≤ f ≤ 127
0 ≤ b < 7
skip if (f<b>) = 1
None
If bit 'b' in register 'f' is '1', then the
next instruction is skipped.
If bit 'b' is '1', 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
01
HERE
FALSE
TRUE
PC =
if FLAG<1> = 0,
PC =
if FLAG<1> = 1,
PC =
11bb
BTFSS
GOTO
•
•
•
address HERE
address FALSE
address TRUE
FLAG,1
PROCESS_CO
DE
bfff
ffff
CALL
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Example
CLRF
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Example
Call Subroutine
[ label ] CALL k
0 ≤ k ≤ 2047
(PC)+ 1→ TOS,
k → PC<10:0>,
(PCLATH<4:3>) → PC<12:11>
None
Call Subroutine. First, return
address (PC+1) is pushed onto
the stack. The eleven bit immedi-
ate address is loaded into PC bits
<10:0>. The upper bits of the PC
are loaded from PCLATH. CALL is
a two-cycle instruction.
1
2
Before Instruction
After Instruction
Clear f
[ label ] CLRF
0 ≤ f ≤ 127
00h → (f)
1 → Z
Z
The contents of register 'f' are
cleared and the Z bit is set.
1
1
Before Instruction
After Instruction
10
HERE
00
CLRF
PIC16C62X
PC = Address HERE
PC = Address THERE
TOS = Address HERE+1
FLAG_REG
FLAG_REG
Z
0kkk
CALL
0001
FLAG_REG
f
THER
E
DS30235J-page 65
kkkk
1fff
=
=
=
0x5A
0x00
1
kkkk
ffff