PIC16LF628A-I/ML Microchip Technology, PIC16LF628A-I/ML Datasheet - Page 124

IC,MICROCONTROLLER,8-BIT,PIC CPU,CMOS,LLCC,28PIN,PLASTIC

PIC16LF628A-I/ML

Manufacturer Part Number
PIC16LF628A-I/ML
Description
IC,MICROCONTROLLER,8-BIT,PIC CPU,CMOS,LLCC,28PIN,PLASTIC
Manufacturer
Microchip Technology
Series
PIC® 16Fr
Datasheets

Specifications of PIC16LF628A-I/ML

Rohs Compliant
YES
Core Processor
PIC
Core Size
8-Bit
Speed
20MHz
Connectivity
UART/USART
Peripherals
Brown-out Detect/Reset, POR, PWM, WDT
Number Of I /o
16
Program Memory Size
3.5KB (2K x 14)
Program Memory Type
FLASH
Eeprom Size
128 x 8
Ram Size
224 x 8
Voltage - Supply (vcc/vdd)
2 V ~ 5.5 V
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Package / Case
28-VQFN Exposed Pad, 28-HVQFN, 28-SQFN, 28-DHVQFN
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
Data Converters
-
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
PIC16F627A/628A/648A
DS40044G-page 124
INCF
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Example
Increment f
[ label ]
0 ≤ f ≤ 127
d ∈ [0,1]
(f) + 1 → (dest)
Z
00
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’.
1
1
INCF
Before Instruction
After Instruction
REG1 = 0xFF
Z
REG1 = 0x00
Z
1010
REG1, 1
INCF f,d
= 0
= 1
dfff
ffff
INCFSZ
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Example
Increment f, Skip if 0
[ label ]
0 ≤ f ≤ 127
d ∈ [0,1]
(f) + 1 → (dest), skip if result = 0
None
00
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’, the next
instruction, which is already
fetched, is discarded. A NOP is
executed instead making it a
two-cycle instruction.
1
1(2)
HERE
CONTINUE •
Before Instruction
After Instruction
© 2009 Microchip Technology Inc.
if REG1≠ 0,
PC
REG1 = REG1 + 1
if CNT = 0,
PC = address CONTINUE
PC
1111
INCFSZ f,d
INCFSZ
GOTO
= address HERE
= address HERE +1
dfff
REG1, 1
LOOP
ffff

Related parts for PIC16LF628A-I/ML