PIC16C65A Microchip Technology, PIC16C65A Datasheet - Page 146

no-image

PIC16C65A

Manufacturer Part Number
PIC16C65A
Description
8-Bit CMOS Microcontrollers
Manufacturer
Microchip Technology
Datasheets

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC16C65A-04/L
Manufacturer:
Microchip Technology
Quantity:
10 000
Part Number:
PIC16C65A-04/L
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Part Number:
PIC16C65A-04/P
Manufacturer:
Microchip Technology
Quantity:
135
Part Number:
PIC16C65A-04/PQ
Manufacturer:
Microchip Technology
Quantity:
10 000
Part Number:
PIC16C65A-04/PT
Manufacturer:
Microchip Technology
Quantity:
10 000
Part Number:
PIC16C65A-04E/L
Manufacturer:
Microchip Technology
Quantity:
10 000
Part Number:
PIC16C65A-04E/PQ
Manufacturer:
Microchip Technology
Quantity:
10 000
Part Number:
PIC16C65A-10/L
Manufacturer:
Microchip Technology
Quantity:
135
Part Number:
PIC16C65A-10/P
Quantity:
6
Part Number:
PIC16C65A-10/P
Quantity:
17
PIC16C6X
BCF
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Q Cycle Activity:
Example
BSF
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Q Cycle Activity:
Example
DS30234D-page 146
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
Decode
BCF
Decode
BSF
Q1
Q1
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
register
register
00bb
01bb
FLAG_REG,
Read
FLAG_REG, 7
Read
Q2
Q2
'f'
'f'
f,b
f,b
Process
Process
bfff
bfff
data
data
Q3
Q3
.
7
register 'f'
register 'f'
ffff
ffff
Write
Write
Q4
Q4
BTFSC
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Q Cycle Activity:
Example
If Skip:
Bit Test, Skip if Clear
[ label ] BTFSC f,b
0
0
skip if (f<b>) = 0
If bit 'b' in register 'f' is '1' then the next
instruction is executed.
If bit 'b', in register 'f', is '0' then the next
instruction is discarded, and a NOP is
executed instead, making this a 2T
instruction
1
1(2)
Before Instruction
After Instruction
None
(2nd Cycle)
Operation
HERE
FALSE
TRUE
Decode
01
Q1
Q1
No-
f
b
1997 Microchip Technology Inc.
127
7
.
PC =
if FLAG<1> = 0,
PC =
if FLAG<1>=1,
PC =
register 'f'
Operation
10bb
BTFSC
GOTO
Read
Q2
Q2
No-
address HERE
address TRUE
address FALSE
FLAG,1
PROCESS_CODE
Operation
Process
bfff
data
Q3
No-
Q3
Operation
Operation
ffff
CY
Q4
Q4
No-
No-

Related parts for PIC16C65A