PIC16F716 Microchip Technology, PIC16F716 Datasheet - Page 76

no-image

PIC16F716

Manufacturer Part Number
PIC16F716
Description
8-bit Flash-based Microcontroller with A/D Converter and Enhanced Capture/Compare/PWM
Manufacturer
Microchip Technology
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC16F716
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Part Number:
PIC16F716-1/P4AP
Manufacturer:
a
Quantity:
4
Part Number:
PIC16F716-E/ML
0
Part Number:
PIC16F716-E/SO
Manufacturer:
PIC
Quantity:
5 510
Part Number:
PIC16F716-E/SO
Manufacturer:
AMD
Quantity:
5 510
Part Number:
PIC16F716-E/SS
Manufacturer:
BCD
Quantity:
10
Part Number:
PIC16F716-I/P
Manufacturer:
MICROCHIP
Quantity:
5 373
Part Number:
PIC16F716-I/P
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Company:
Part Number:
PIC16F716-I/P
Quantity:
6 994
Company:
Part Number:
PIC16F716-I/P
Quantity:
3 900
Part Number:
PIC16F716-I/SO
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Part Number:
PIC16F716-I/SO
0
Company:
Part Number:
PIC16F716-I/SO
Quantity:
2 000
Company:
Part Number:
PIC16F716-I/SO
Quantity:
1 680
Part Number:
PIC16F716-I/SS
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
PIC16F716
DS41206A-page 74
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
0
0
None
01
Bit ‘b’ in register ‘f’ is cleared.
1
1
BCF
Before Instruction
After Instruction
Bit Set f
[ label ] BSF
0
0
1
None
01
Bit ‘b’ in register ‘f’ is set.
1
1
BSF
Before Instruction
After Instruction
f
b
f
b
(f<b>)
(f<b>)
REG1
REG1
127
127
REG1
REG1
7
7
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
0
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(2)
HERE
FALSE
TRUE
Before Instruction
After Instruction
01
 2003 Microchip Technology Inc.
f
b
PC = address HERE
if REG<1> = 0,
PC = address TRUE
if REG<1>=1,
PC = address FALSE
127
7
10bb
BTFSC
GOTO
bfff
REG1
PROCESS_CODE
ffff

Related parts for PIC16F716