PIC12C508A-04I/P Microchip Technology Inc., PIC12C508A-04I/P Datasheet - Page 54
![no-image](/images/manufacturer_photos/0/4/440/microchip_technology_inc__sml.jpg)
PIC12C508A-04I/P
Manufacturer Part Number
PIC12C508A-04I/P
Description
8 PIN, 0.75 KB OTP, 25 RAM, 6 I/O
Manufacturer
Microchip Technology Inc.
Datasheet
1.PIC12C508A-04IP.pdf
(113 pages)
Specifications of PIC12C508A-04I/P
Cpu Speed
1 MIPS
Eeprom Memory
0 Bytes
Input Output
5
Memory Type
OTP
Number Of Bits
8
Package Type
8-pin PDIP
Programmable Memory
768 Bytes
Ram Size
25 Bytes
Speed
4 MHz
Timers
1-8-bit
Voltage, Range
2.5-5.5 V
Lead Free Status / Rohs Status
RoHS Compliant part
Electrostatic Device
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
PIC12C5XX
MOVF
Syntax:
Operands:
Operation:
Status Affected: Z
Encoding:
Description:
Words:
Cycles:
Example:
MOVLW
Syntax:
Operands:
Operation:
Status Affected: None
Encoding:
Description:
Words:
Cycles:
Example:
DS40139E-page 54
After Instruction
After Instruction
W
W
=
=
Move f
[ label ]
0
d
(f)
The contents of register ’f’ is moved to
destination ’d’. If ’d’ is 0, destination is
the W register. If ’d’ is 1, the destination
is file register ’f’. ’d’ is 1 is useful to test
a file register since status flag Z is
affected.
1
1
MOVF
value in FSR register
Move Literal to W
[ label ]
0
k
The eight bit literal ’k’ is loaded into the
W register. The don’t cares will assem-
ble as 0s.
1
1
MOVLW
0x5A
0010
1100
f
k
[0,1]
(W)
(dest)
31
255
FSR,
0x5A
MOVF f,d
MOVLW k
00df
kkkk
0
ffff
kkkk
MOVWF
Syntax:
Operands:
Operation:
Status Affected: None
Encoding:
Description:
Words:
Cycles:
Example:
NOP
Syntax:
Operands:
Operation:
Status Affected: None
Encoding:
Description:
Words:
Cycles:
Example:
Before Instruction
After Instruction
TEMP_REG
W
TEMP_REG
W
Move W to f
[ label ]
0
(W)
Move data from the W register to regis-
ter 'f'
1
1
MOVWF
No Operation
[ label ]
None
No operation
No operation.
1
1
NOP
0000
0000
f
.
=
=
=
=
31
(f)
1999 Microchip Technology Inc.
TEMP_REG
0xFF
0x4F
0x4F
0x4F
MOVWF
NOP
001f
0000
ffff
0000
f