PIC16C620 Microchip Technology, PIC16C620 Datasheet - Page 64
PIC16C620
Manufacturer Part Number
PIC16C620
Description
EPROM-Based 8-Bit CMOS Microcontroller
Manufacturer
Microchip Technology
Datasheet
1.PIC16C620.pdf
(108 pages)
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC16C620-04/SS
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Part Number:
PIC16C620/JW
Manufacturer:
MICROCH
Quantity:
20 000
Part Number:
PIC16C620A-04/P
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Company:
Part Number:
PIC16C620A-04/SO
Manufacturer:
MICROCHI
Quantity:
84
Part Number:
PIC16C620A-04/SO
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Part Number:
PIC16C620A-04I/P
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Company:
Part Number:
PIC16C620A-04I/SS
Manufacturer:
Microchip Technology
Quantity:
135
Company:
Part Number:
PIC16C620A-40/P
Manufacturer:
Microchip Technology
Quantity:
135
PIC16C62X
BCF
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Example
BSF
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Example
DS30235G-page 64
Bit Clear f
[ label ] BCF
0
0
0
None
Bit 'b' in register 'f' is cleared
1
1
Before Instruction
After Instruction
Bit Set f
[ label ] BSF
0
0
1
None
Bit 'b' in register 'f' is set.
1
1
Before Instruction
After Instruction
BCF
BSF
01
01
f
b
f
b
(f<b>)
(f<b>)
127
127
7
7
FLAG_REG = 0xC7
FLAG_REG = 0x47
FLAG_REG = 0x0A
FLAG_REG = 0x8A
00bb
01bb
FLAG_REG,
FLAG_REG, 7
f,b
f,b
bfff
bfff
.
7
ffff
ffff
Preliminary
BTFSC
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Example
Bit Test, 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)
Before Instruction
After Instruction
HERE
FALSE
TRUE
01
f
b
1998 Microchip Technology Inc.
127
7
PC =
if FLAG<1> = 0,
PC =
if FLAG<1>=1,
PC =
10bb
BTFSC
GOTO
•
•
•
.
address HERE
address TRUE
address FALSE
FLAG,1
PROCESS_CODE
bfff
ffff