PIC17C42 Microchip Technology, PIC17C42 Datasheet - Page 116

no-image

PIC17C42

Manufacturer Part Number
PIC17C42
Description
High-Performance 8-Bit CMOS EPROM/ROM Microcontroller
Manufacturer
Microchip Technology
Datasheets

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC17C42-16/JW
Manufacturer:
AD
Quantity:
12
Part Number:
PIC17C42A-16/L
Manufacturer:
Microchip Technology
Quantity:
10 000
Part Number:
PIC17C42A-16/PQ
Manufacturer:
Microchip Technology
Quantity:
10 000
Part Number:
PIC17C42A-16/PQ
Manufacturer:
MICROCH
Quantity:
20 000
Part Number:
PIC17C42A-16/PT
Manufacturer:
Microchip Technology
Quantity:
10 000
Part Number:
PIC17C42A-16E/L
Manufacturer:
Microchip Technology
Quantity:
10 000
Part Number:
PIC17C42A-16E/PQ
Manufacturer:
Microchip Technology
Quantity:
10 000
Part Number:
PIC17C42A-25/P
Manufacturer:
MICROCLOCK
Quantity:
20 000
PIC17C4X
BTFSS
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Q Cycle Activity:
If skip:
Example:
DS30412C-page 116
Before Instruction
After Instruction
Forced NOP
Decode
PC
If FLAG<1>
If FLAG<1>
Q1
Q1
PC
PC
Bit Test, skip if Set
[ label ] BTFSS f,b
0
0
skip if (f<b>) = 1
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 exe-
cution, is discarded and an NOP is exe-
cuted instead, making this a two-cycle
instruction.
1
1(2)
HERE
FALSE
TRUE
None
register 'f'
1001
Read
NOP
Q2
Q2
=
=
=
=
=
f
b < 7
127
address (HERE)
0;
address (FALSE)
1;
address (TRUE)
BTFSS
:
:
0bbb
Execute
Execute
Q3
Q3
FLAG,1
ffff
NOP
NOP
Q4
Q4
ffff
BTG
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Q Cycle Activity:
Example:
Before Instruction:
After Instruction:
Decode
PORTC =
PORTC =
Q1
register 'f'
Bit Toggle f
[ label ] BTG f,b
0
0
(f<b>)
None
Bit 'b' in data memory location 'f' is
inverted.
1
1
BTG
Read
0011
Q2
0111 0101 [0x75]
0110 0101 [0x65]
f
b < 7
1996 Microchip Technology Inc.
255
PORTC,
(f<b>)
1bbb
Execute
Q3
4
ffff
register 'f'
Write
Q4
ffff

Related parts for PIC17C42