PIC12C509A-04/P Microchip Technology Inc., PIC12C509A-04/P Datasheet - Page 56

no-image

PIC12C509A-04/P

Manufacturer Part Number
PIC12C509A-04/P
Description
8 PIN, 1.5 KB OTP, 41 RAM, 6 I/O
Manufacturer
Microchip Technology Inc.
Datasheet

Specifications of PIC12C509A-04/P

Cpu Speed
1 MIPS
Eeprom Memory
0 Bytes
Input Output
5
Memory Capacity
1024 Bytes
Memory Type
OTP
Number Of Bits
8
Number Of Leads
6
Package Type
8-pin PDIP
Programmable Memory
1.5K Bytes
Ram Size
41 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
Part Number:
PIC12C509A-04/P
Manufacturer:
FCS
Quantity:
20
Part Number:
PIC12C509A-04/P
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Part Number:
PIC12C509A-04/P8B0
Manufacturer:
Microchip Technology
Quantity:
28
PIC12C5XX
SLEEP
Syntax:
Operands:
Operation:
Status Affected: TO, PD, GPWUF
Encoding:
Description:
Words:
Cycles:
Example:
DS40139E-page 56
Enter SLEEP Mode
[ label ]
None
00h
0
1
0
Time-out status bit (TO) is set. The
power down status bit (PD) is cleared.
GPWUF is unaffected.
The WDT and its prescaler are
cleared.
The processor is put into SLEEP mode
with the oscillator stopped. See sec-
tion on SLEEP for more details.
1
1
SLEEP
0000
WDT prescaler;
TO;
PD
WDT;
SLEEP
0000
0011
SUBWF
Syntax:
Operands:
Operation:
Status Affected: C, DC, Z
Encoding:
Description:
Words:
Cycles:
Example 1:
Example 2:
Example 3:
Before Instruction
After Instruction
Before Instruction
After Instruction
Before Instruction
After Instruction
REG1
W
C
REG1
W
C
REG1
W
C
REG1
W
C
REG1
W
C
REG1
W
C
Subtract W from f
[ label ]
0
d
(f) – (W)
Subtract (2’s complement method) the
W register from 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
SUBWF
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
0000
f
[0,1]
3
2
?
1
2
1
2
2
?
0
2
1
1
2
?
FF
2
0
31
1999 Microchip Technology Inc.
SUBWF f,d
REG1, 1
; result is positive
; result is zero
; result is negative
10df
dest)
ffff

Related parts for PIC12C509A-04/P