PIC16C58B-04I/SS Microchip Technology, PIC16C58B-04I/SS Datasheet - Page 54

IC MCU OTP 2KX12 20SSOP

PIC16C58B-04I/SS

Manufacturer Part Number
PIC16C58B-04I/SS
Description
IC MCU OTP 2KX12 20SSOP
Manufacturer
Microchip Technology
Series
PIC® 16Cr
Datasheets

Specifications of PIC16C58B-04I/SS

Core Processor
PIC
Core Size
8-Bit
Speed
4MHz
Peripherals
POR, WDT
Number Of I /o
12
Program Memory Size
3KB (2K x 12)
Program Memory Type
OTP
Ram Size
73 x 8
Voltage - Supply (vcc/vdd)
3 V ~ 5.5 V
Oscillator Type
External
Operating Temperature
-40°C ~ 85°C
Package / Case
20-SSOP
Processor Series
PIC16C
Core
PIC
Data Bus Width
8 bit
Data Ram Size
73 B
Maximum Clock Frequency
4 MHz
Number Of Programmable I/os
12
Number Of Timers
8
Operating Supply Voltage
2.5 V to 5.5 V
Maximum Operating Temperature
+ 85 C
Mounting Style
SMD/SMT
3rd Party Development Tools
52715-96, 52716-328, 52717-734
Development Tools By Supplier
ICE2000
Minimum Operating Temperature
- 40 C
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
-
Lead Free Status / Rohs Status
 Details
PIC16C5X
BSF
Syntax:
Operands:
Operation:
Status Affected: None
Encoding:
Description:
Words:
Cycles:
Example:
BTFSC
Syntax:
Operands:
Operation:
Status Affected: None
Encoding:
Description:
Words:
Cycles:
Example:
DS30453D-page 52
Before Instruction
After Instruction
Before Instruction
After Instruction
FLAG_REG = 0x0A
FLAG_REG = 0x8A
PC
if FLAG<1> = 0,
PC
if FLAG<1> = 1,
PC
Bit Set f
[ label ] BSF
0
0
1
Bit ’b’ in register ’f’ is set.
1
1
BSF
Bit Test f, Skip if Clear
[ label ] BTFSC f,b
0
0
skip if (f<b>) = 0
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 2-cycle instruction.
1
1(2)
HERE
FALSE
TRUE
0101
0110
f
b
f
b
(f<b>)
= address (HERE)
= address (TRUE);
= address(FALSE)
31
31
7
7
FLAG_REG,
BTFSC
GOTO
bbbf
bbbf
f,b
FLAG,1
PROCESS_CODE
ffff
ffff
7
Preliminary
BTFSS
Syntax:
Operands:
Operation:
Status Affected: None
Encoding:
Description:
Words:
Cycles:
Example:
Before Instruction
After Instruction
PC
If FLAG<1>
PC
if FLAG<1>
PC
Bit Test f, Skip if Set
[ label ] BTFSS f,b
0
0
skip if (f<b>) = 1
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 2-cycle instruction.
1
1(2)
HERE
FALSE
TRUE
0111
f
b < 7
31
=
=
=
=
=
2002 Microchip Technology Inc.
GOTO
BTFSS
bbbf
address (HERE)
0,
address (FALSE);
1,
address (TRUE)
PROCESS_CODE
FLAG,1
ffff

Related parts for PIC16C58B-04I/SS