PIC17C42 Microchip Technology, PIC17C42 Datasheet - Page 119

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
CPFSEQ
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Q Cycle Activity:
If skip:
Example:
1996 Microchip Technology Inc.
Before Instruction
After Instruction
Forced NOP
Decode
PC Address
WREG
REG
If REG
If REG
Q1
Q1
PC
PC
register 'f'
Compare f with WREG,
skip if f = WREG
[ label ] CPFSEQ
0
(f) – (WREG),
skip if (f) = (WREG)
(unsigned comparison)
Compares the contents of data memory
location 'f' to the contents of WREG by
performing an unsigned subtraction.
If 'f' = WREG then the fetched instruc-
tion is discarded and an NOP is exe-
cuted instead making this a two-cycle
instruction.
1
1 (2)
HERE
NEQUAL
EQUAL
None
Read
NOP
0011
Q2
Q2
=
=
=
=
=
=
f
255
HERE
?
?
WREG;
Address (EQUAL)
WREG;
Address (NEQUAL)
CPFSEQ REG
:
:
0001
Execute
Execute
Q3
Q3
ffff
f
NOP
NOP
Q4
Q4
ffff
CPFSGT
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Q Cycle Activity:
If skip:
Example:
Before Instruction
After Instruction
Forced NOP
Decode
PC
WREG
If REG
If REG
Q1
Q1
PC
PC
register 'f'
Compare f with WREG,
skip if f > WREG
[ label ] CPFSGT
0
(f)
skip if (f) > (WREG)
(unsigned comparison)
None
Compares the contents of data memory
location 'f' to the contents of the WREG
by performing an unsigned subtraction.
If the contents of 'f' > the contents of
WREG then the fetched instruction is
discarded and an NOP is executed
instead making this a two-cycle instruc-
tion.
1
1 (2)
HERE
NGREATER
GREATER
Read
NOP
0011
Q2
Q2
=
=
>
=
f
=
WREG),
255
Address (HERE)
?
WREG;
Address (GREATER)
WREG;
Address (NGREATER)
PIC17C4X
0010
CPFSGT REG
:
:
Execute
Execute
Q3
Q3
DS30412C-page 119
ffff
f
NOP
NOP
Q4
Q4
ffff

Related parts for PIC17C42