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

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
 2003 Microchip Technology Inc.
BTFSS
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Example
Bit Test f, Skip if Set
[ label ] BTFSS f,b
0 ≤ f ≤ 127
0 ≤ b < 7
skip if (f<b>) = 1
None
01
If bit 'b' in register 'f' is '1' then the
next instruction is skipped.
If bit 'b' is '1', 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
if FLAG<1> = 1,
(2)
PC = address HERE
if FLAG<1> = 0,
PC =
PC =
11bb
BTFSS
GOTO
address FALSE
address TRUE
bfff
REG1
PROCESS_CODE
ffff
Preliminary
CALL
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Example
CLRF
Encoding:
Description:
Words:
Cycles:
Example
Status Affected:
Operands:
Operation:
Syntax:
Call Subroutine
[ label ] CALL k
0 ≤ k ≤ 2047
(PC)+ 1→ TOS,
k → PC<10:0>,
(PCLATH<4:3>) → PC<12:11>
None
10
Call Subroutine. First, return
address (PC+1) is pushed onto
the stack. The eleven bit
immediate address is loaded
into PC bits <10:0>. The upper
bits of the PC are loaded from
PCLATH. CALL is a two-cycle
instruction.
1
2
HERE
Before Instruction
After Instruction
Clear f
[ label ] CLRF
0 ≤ f ≤ 127
00h → (f)
1 → Z
Z
00
The contents of register 'f' are
cleared and the Z bit is set.
1
1
CLRF
Before Instruction
After Instruction
PIC16F62X
PC
PC
TOS = Address HERE+1
REG1
REG1
Z
0kkk
CALL
0001
REG1
= Address HERE
= Address THERE
DS40300C-page 111
= 0x5A
= 0x00
= 1
f
kkkk
THERE
1fff
kkkk
ffff

Related parts for PIC16F627-04/SO