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

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 110
BCF
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Example
BSF
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Example
Bit Clear f
[ label ] BCF
0 ≤ f ≤ 127
0 ≤ b ≤ 7
0 → (f<b>)
None
01
Bit 'b' in register 'f' is cleared.
1
1
BCF
Before Instruction
After Instruction
Bit Set f
[ label ] BSF
0 ≤ f ≤ 127
0 ≤ b ≤ 7
1 → (f<b>)
None
01
Bit 'b' in register 'f' is set.
1
1
BSF
Before Instruction
After Instruction
REG1
REG1
REG1
REG1
00bb
REG1, 7
01bb
REG1, 7
f,b
f,b
= 0xC7
= 0x47
= 0x0A
= 0x8A
bfff
bfff
ffff
ffff
Preliminary
BTFSC
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Example
Bit Test f, Skip if Clear
[ label ] BTFSC f,b
0 ≤ f ≤ 127
0 ≤ b ≤ 7
skip if (f<b>) = 0
None
If bit 'b' in register 'f' is '0' then the
next instruction is skipped.
If bit 'b' is '0' then the next
instruction fetched during the
current instruction execution is
discarded, and a NOP is executed
instead, making this a two-cycle
instruction.
1
1
HERE
FALSE
TRUE
Before Instruction
After Instruction
01
(2)
 2003 Microchip Technology Inc.
PC = address HERE
if REG<1> = 0,
PC = address TRUE
if REG<1>=1,
PC = address FALSE
10bb
BTFSC
GOTO
bfff
REG1
PROCESS_CODE
ffff

Related parts for PIC16F627-04/SO