PIC10F220-E/P Microchip Technology, PIC10F220-E/P Datasheet - Page 49

Microcontroller

PIC10F220-E/P

Manufacturer Part Number
PIC10F220-E/P
Description
Microcontroller
Manufacturer
Microchip Technology
Series
PIC® 10Fr

Specifications of PIC10F220-E/P

Core Processor
PIC
Core Size
8-Bit
Speed
8MHz
Peripherals
POR, WDT
Number Of I /o
3
Program Memory Size
384B (256 x 12)
Program Memory Type
FLASH
Ram Size
16 x 8
Voltage - Supply (vcc/vdd)
2 V ~ 5.5 V
Data Converters
A/D 2x8b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 125°C
Package / Case
8-DIP (0.300", 7.62mm)
Processor Series
PIC10F
Core
PIC
Data Bus Width
8 bit
Data Ram Size
16 B
Interface Type
USB
Maximum Clock Frequency
8 MHz
Number Of Programmable I/os
4
Number Of Timers
1
Maximum Operating Temperature
+ 125 C
Mounting Style
Through Hole
3rd Party Development Tools
52715-96, 52716-328, 52717-734
Development Tools By Supplier
PG164130, DV164035, DV244005, DV164005, PG164120
Minimum Operating Temperature
- 40 C
On-chip Adc
8 bit, 2 Channel
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
For Use With
AC162070 - HEADER INTRFC MPLAB ICD2 8/14PAC164037 - MODULE SKT 6L PROMATE II SOT23
Eeprom Size
-
Connectivity
-
Lead Free Status / Rohs Status
 Details
DECF
Syntax:
Operands:
Operation:
Status Affected: Z
Description:
DECFSZ
Syntax:
Operands:
Operation:
Status Affected: None
Description:
GOTO
Syntax:
Operands:
Operation:
Status Affected: None
Description:
© 2007 Microchip Technology Inc.
Decrement f
[ label ] DECF f,d
0 ≤ f ≤ 31
d ∈ [0,1]
(f) – 1 → (dest)
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’.
Decrement f, Skip if 0
[ label ] DECFSZ f,d
0 ≤ f ≤ 31
d ∈ [0,1]
(f) – 1 → d;
The contents of register ‘f’ are dec-
remented. 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 instruc-
tion, which is already fetched, is
discarded and a NOP is executed
instead making it a two-cycle
instruction.
Unconditional Branch
[ label ]
0 ≤ k ≤ 511
k → PC<8:0>;
STATUS<6:5> → PC<10:9>
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.
GOTO k
skip if result = 0
INCF
Syntax:
Operands:
Operation:
Status Affected: Z
Description:
INCFSZ
Syntax:
Operands:
Operation:
Status Affected: None
Description:
IORLW
Syntax:
Operands:
Operation:
Status Affected: Z
Description:
PIC10F220/222
Increment f
[ label ]
0 ≤ f ≤ 31
d ∈ [0,1]
(f) + 1 → (dest)
The contents of register ‘f’ are
incremented. If ‘d’ is ‘0’, the result
is placed in the W register. If ‘d’ is
‘1’, the result is placed back in
register ‘f’.
Increment f, Skip if 0
[ label ]
0 ≤ f ≤ 31
d ∈ [0,1]
(f) + 1 → (dest), skip if result = 0
The contents of register ‘f’ are
incremented. 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’, then the next
instruction, which is already
fetched, is discarded and a NOP is
executed instead making it a two-
cycle instruction.
Inclusive OR literal with W
[ label ]
0 ≤ k ≤ 255
(W) .OR. (k) → (W)
The contents of the W register are
OR’ed with the eight-bit literal ‘k’.
The result is placed in the W
register.
INCF f,d
INCFSZ f,d
IORLW k
DS41270E-page 47

Related parts for PIC10F220-E/P