PIC12C508A-04I/P Microchip Technology, PIC12C508A-04I/P Datasheet - Page 55
![no-image](/images/manufacturer_photos/0/4/439/microchip_technology_sml.jpg)
PIC12C508A-04I/P
Manufacturer Part Number
PIC12C508A-04I/P
Description
IC MCU OTP 512X12 8DIP
Manufacturer
Microchip Technology
Series
PIC® 12Cr
Datasheets
1.PIC12C508A-04SM.pdf
(113 pages)
2.PIC12C508A-04SM.pdf
(6 pages)
3.PIC12C508A-04SM.pdf
(16 pages)
4.PIC12C508A-04SM.pdf
(4 pages)
Specifications of PIC12C508A-04I/P
Program Memory Type
OTP
Program Memory Size
768B (512 x 12)
Package / Case
8-DIP (0.300", 7.62mm)
Core Processor
PIC
Core Size
8-Bit
Speed
4MHz
Peripherals
POR, WDT
Number Of I /o
5
Ram Size
25 x 8
Voltage - Supply (vcc/vdd)
3 V ~ 5.5 V
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Processor Series
PIC12C
Core
PIC
Data Bus Width
8 bit
Data Ram Size
25 B
Maximum Clock Frequency
4 MHz
Number Of Programmable I/os
5
Number Of Timers
1
Operating Supply Voltage
2.5 V to 5.5 V
Maximum Operating Temperature
+ 85 C
Mounting Style
Through Hole
3rd Party Development Tools
52715-96, 52716-328, 52717-734
Development Tools By Supplier
DVMCPA, ICE2000
Minimum Operating Temperature
- 40 C
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
For Use With
ISPICR1 - ADAPTER IN-CIRCUIT PROGRAMMINGDVMCPA - KIT DVR BOARD EVAL SYSTEM MXDEV1DVA12XP080 - ADAPTER DEVICE FOR MPLAB-ICEAC124001 - MODULE SKT PROMATEII 8DIP/SOIC
Eeprom Size
-
Data Converters
-
Connectivity
-
Lead Free Status / Rohs Status
Lead free / RoHS Compliant
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
PIC12C508A-04I/P
Manufacturer:
MAXIM
Quantity:
731
Part Number:
PIC12C508A-04I/P
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Part Number:
PIC12C508A-04I/PVAO
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
OPTION
Syntax:
Operands:
Operation:
Status Affected: None
Encoding:
Description:
Words:
Cycles:
Example
RETLW
Syntax:
Operands:
Operation:
Status Affected: None
Encoding:
Description:
Words:
Cycles:
Example:
TABLE
1999 Microchip Technology Inc.
Before Instruction
After Instruction
Before Instruction
After Instruction
W
OPTION =
W
W
=
=
Load OPTION Register
[ label ]
None
(W)
The content of the W register is loaded
into the OPTION register.
1
1
=
Return with Literal in W
[ label ]
0
k
TOS
The W register is loaded with the eight
bit literal ’k’. The program counter is
loaded from the top of the stack (the
return address). This is a two cycle
instruction.
1
2
CALL TABLE ;W contains
•
•
•
ADDWF PC
RETLW k1
RETLW k2
•
•
•
RETLW kn
0x07
value of k8
0000
OPTION
1000
k
0x07
0x07
(W);
OPTION
255
PC
OPTION
0000
RETLW k
kkkk
;table offset
;value.
;W now has table
;value.
;W = offset
;Begin table
;
; End of table
0010
kkkk
RLF
Syntax:
Operands:
Operation:
Status Affected: C
Encoding:
Description:
Words:
Cycles:
Example:
RRF
Syntax:
Operands:
Operation:
Status Affected: C
Encoding:
Description:
Words:
Cycles:
Example:
Before Instruction
After Instruction
Before Instruction
After Instruction
REG1
C
REG1
W
C
REG1
C
REG1
W
C
Rotate Left f through Carry
[ label ] RLF
0
d
See description below
The contents of register ’f’ are rotated
one bit to the left through the Carry
Flag. If ’d’ is 0 the result is placed in the
W register. If ’d’ is 1 the result is stored
back in register ’f’.
1
1
RLF
=
=
=
=
=
Rotate Right f through Carry
[ label ]
0
d
See description below
The contents of register ’f’ are rotated
one bit to the right through the Carry
Flag. If ’d’ is 0 the result is placed in the
W register. If ’d’ is 1 the result is placed
back in register ’f’.
1
1
RRF
=
=
=
=
=
0011
0011
f
f
[0,1]
[0,1]
1110 0110
0
1110 0110
1100 1100
1
1110 0110
0
1110 0110
0111 0011
0
C
C
PIC12C5XX
31
31
REG1,0
REG1,0
RRF f,d
01df
00df
register ’f’
register ’f’
f,d
DS40139E-page 55
ffff
ffff