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

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
SWAPF
Syntax:
Operands:
Operation:
Status Affected: None
Encoding:
Description:
Words:
Cycles:
Example
TRIS
Syntax:
Operands:
Operation:
Status Affected: None
Encoding:
Description:
Words:
Cycles:
Example
Note:
1999 Microchip Technology Inc.
Before Instruction
After Instruction
Before Instruction
After Instruction
REG1
REG1
W
W
TRIS
f = 6 for PIC12C5XX only.
Swap Nibbles in f
[ label ] SWAPF f,d
0
d
(f<3:0>)
(f<7:4>)
The upper and lower nibbles of register
’f’ are exchanged. If ’d’ is 0 the result is
placed in W register. If ’d’ is 1 the result
is placed in register ’f’.
1
1
SWAPF
=
=
=
Load TRIS Register
[ label ] TRIS
f =
(W)
TRIS register ’f’ (f = 6) is loaded with the
contents of the W register
1
1
=
=
TRIS
0011
0000
6
f
[0,1]
0xA5
0xA5
0X5A
0XA5
0XA5
31
TRIS register f
REG1, 0
GPIO
10df
0000
(dest<7:4>);
(dest<3:0>)
f
ffff
0fff
XORLW
Syntax:
Operands:
Operation:
Status Affected: Z
Encoding:
Description:
Words:
Cycles:
Example:
XORWF
Syntax:
Operands:
Operation:
Status Affected: Z
Encoding:
Description:
Words:
Cycles:
Example
Before Instruction
After Instruction
Before Instruction
After Instruction
W
W
REG
W
REG
W
=
=
Exclusive OR literal with W
[ label ]
0
(W) .XOR. k
The contents of the W register are
XOR’ed with the eight bit literal 'k'. The
result is placed in the W register.
1
1
XORLW 0xAF
0xB5
0x1A
Exclusive OR W with f
[ label ] XORWF
0
d
(W) .XOR. (f)
Exclusive OR the contents of the W
register with 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
XORWF
=
=
=
=
1111
0001
k
f
[0,1]
0xAF
0xB5
0x1A
0xB5
PIC12C5XX
31
255
XORLW k
REG,1
kkkk
10df
W)
dest)
DS40139E-page 57
kkkk
ffff
f,d

Related parts for PIC12C509A-04/SM