PIC16F627-04/SO Microchip Technology Inc., PIC16F627-04/SO Datasheet - Page 116

no-image

PIC16F627-04/SO

Manufacturer Part Number
PIC16F627-04/SO
Description
18 PIN, 1.75 KB FLASH, 224 RAM, 16 I/O
Manufacturer
Microchip Technology Inc.
Datasheet

Specifications of PIC16F627-04/SO

Comparators
2
Cpu Speed
5 MIPS
Eeprom Memory
128 Bytes
Input Output
16
Interface
SCI/USART
Memory Type
Flash
Number Of Bits
8
Package Type
18-pin SOIC
Programmable Memory
1.75K Bytes
Ram Size
224 Bytes
Speed
20 MHz
Timers
2-8-bit, 1-16-bit
Voltage, Range
2-5.5 V
Lead Free Status / Rohs Status
RoHS Compliant part Electrostatic Device

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC16F627-04/SO
Manufacturer:
MIC
Quantity:
933
Part Number:
PIC16F627-04/SO
Manufacturer:
MICROCHI
Quantity:
20 000
PIC16F62X
DS40300C-page 114
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
Preliminary
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
HERE
CONTINUE •
Before Instruction
After Instruction
(2)
 2003 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 PIC16F627-04/SO