PIC12C509A-04/SM Microchip Technology, PIC12C509A-04/SM Datasheet - Page 52

no-image

PIC12C509A-04/SM

Manufacturer Part Number
PIC12C509A-04/SM
Description
IC MCU OTP 1KX12 8-SOIJ
Manufacturer
Microchip Technology
Series
PIC® 12Cr

Specifications of PIC12C509A-04/SM

Core Size
8-Bit
Program Memory Size
1.5KB (1K x 12)
Core Processor
PIC
Speed
4MHz
Peripherals
POR, WDT
Number Of I /o
5
Program Memory Type
OTP
Ram Size
41 x 8
Voltage - Supply (vcc/vdd)
3 V ~ 5.5 V
Oscillator Type
Internal
Operating Temperature
0°C ~ 70°C
Package / Case
8-SOIC (5.3mm Width), 8-SOP, 8-SOEIAJ
Controller Family/series
PIC12
No. Of I/o's
6
Ram Memory Size
41Byte
Cpu Speed
4MHz
No. Of Timers
1
Digital Ic Case Style
SOIC
Processor Series
PIC12C
Core
PIC
Data Bus Width
8 bit
Data Ram Size
41 B
Maximum Clock Frequency
4 MHz
Number Of Programmable I/os
5
Number Of Timers
8
Operating Supply Voltage
2.5 V to 5.5 V
Maximum Operating Temperature
+ 70 C
Mounting Style
SMD/SMT
3rd Party Development Tools
52715-96, 52716-328, 52717-734
Development Tools By Supplier
DVMCPA, ICE2000
Minimum Operating Temperature
0 C
Package
8SOIJ
Device Core
PIC
Family Name
PIC12
Maximum Speed
4 MHz
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
For Use With
XLT08SO-1 - SOCKET TRANSITION 8SOIC 150/208AC164312 - MODULE SKT FOR PM3 16SOICISPICR1 - ADAPTER IN-CIRCUIT PROGRAMMING309-1048 - ADAPTER 8-SOIC TO 8-DIP309-1047 - ADAPTER 8-SOIC TO 8-DIPAC124001 - MODULE SKT PROMATEII 8DIP/SOIC
Eeprom Size
-
Data Converters
-
Connectivity
-
Lead Free Status / Rohs Status
 Details

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC12C509A-04/SM
Manufacturer:
MIC
Quantity:
1 485
Part Number:
PIC12C509A-04/SM
Manufacturer:
MIC
Quantity:
20 000
PIC12C5XX
COMF
Syntax:
Operands:
Operation:
Status Affected: Z
Encoding:
Description:
Words:
Cycles:
Example:
DECF
Syntax:
Operands:
Operation:
Status Affected: Z
Encoding:
Description:
Words:
Cycles:
Example:
DS40139E-page 52
Before Instruction
After Instruction
Before Instruction
After Instruction
REG1
REG1
W
CNT
Z
CNT
Z
Complement f
[ label ] COMF
0
d
(f)
The contents of register ’f’ are comple-
mented. 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
COMF
=
=
=
Decrement f
[ label ] DECF f,d
0
d
(f) – 1
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
DECF
=
=
=
=
0010
0000
f
f
[0,1]
[0,1]
0x13
0x13
0xEC
0x01
0
0x00
1
(dest)
31
31
REG1,0
(dest)
CNT,
01df
11df
1
f,d
ffff
ffff
DECFSZ
Syntax:
Operands:
Operation:
Status Affected: None
Encoding:
Description:
Words:
Cycles:
Example:
GOTO
Syntax:
Operands:
Operation:
Status Affected: None
Encoding:
Description:
Words:
Cycles:
Example:
Before Instruction
After Instruction
After Instruction
PC
CNT
if CNT
PC
if CNT
PC
PC =
Decrement f, Skip if 0
[ label ] DECFSZ f,d
0
d
(f) – 1
The contents of register ’f’ are decre-
mented. 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 instruction,
which is already fetched, is discarded
and an NOP is executed instead mak-
ing it a two cycle instruction.
1
1(2)
HERE
CONTINUE •
=
=
=
=
=
Unconditional Branch
[ label ]
0
k
STATUS<6:5>
GOTO is an unconditional branch. The
9-bit immediate value is loaded into PC
bits <8:0>. The upper bits of PC are
loaded from STATUS<6:5>. GOTO is a
two cycle instruction.
1
2
GOTO THERE
address (THERE)
0010
101k
f
k
[0,1]
address (HERE)
CNT - 1;
0,
address (CONTINUE);
0,
address (HERE+1)
PC<8:0>;
31
511
1999 Microchip Technology Inc.
d;
GOTO k
11df
kkkk
DECFSZ
GOTO
skip if result = 0
PC<10:9>
ffff
kkkk
CNT, 1
LOOP

Related parts for PIC12C509A-04/SM