PIC17C756A MICROCHIP [Microchip Technology], PIC17C756A Datasheet - Page 210
![no-image](/images/no-image-200.jpg)
PIC17C756A
Manufacturer Part Number
PIC17C756A
Description
High-Performance 8-bit CMOS EPROM Microcontrollers with 10-bit A/D
Manufacturer
MICROCHIP [Microchip Technology]
Datasheet
1.PIC17C756A.pdf
(304 pages)
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
PIC17C756A
Manufacturer:
Microchip
Quantity:
6
Company:
Part Number:
PIC17C756A-16/L
Manufacturer:
MICROCHIP
Quantity:
101
Company:
Part Number:
PIC17C756A-16/L
Manufacturer:
Microchip Technology
Quantity:
10 000
Part Number:
PIC17C756A-16/L
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Company:
Part Number:
PIC17C756A-16/PT
Manufacturer:
SA
Quantity:
12 000
Company:
Part Number:
PIC17C756A-16/PT
Manufacturer:
Microchip Technology
Quantity:
10 000
Part Number:
PIC17C756A-16/PT
Manufacturer:
MICROCHI
Quantity:
20 000
Company:
Part Number:
PIC17C756A-16E/L
Manufacturer:
Microchip Technology
Quantity:
10 000
Company:
Part Number:
PIC17C756A-16E/PT
Manufacturer:
Microchip Technology
Quantity:
10 000
Company:
Part Number:
PIC17C756A-16I/L
Manufacturer:
Microchip Technology
Quantity:
10 000
Part Number:
PIC17C756A-16I/L
Manufacturer:
MICROCH
Quantity:
20 000
Part Number:
PIC17C756A-16I/PT
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Company:
Part Number:
PIC17C756A-33
Manufacturer:
Microchip
Quantity:
5 510
Company:
Part Number:
PIC17C756A-33
Manufacturer:
INTEL
Quantity:
5 510
Part Number:
PIC17C756A-33/L
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
PIC17C7XX
CPFSLT
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Q Cycle Activity:
If skip:
Example:
DS30289B-page 210
Before Instruction
After Instruction
operation
Decode
PC
W
If REG
PC
If REG
PC
Q1
Q1
No
register ’f’
operation
Compare f with WREG,
skip if f < WREG
[ label ] CPFSLT
0
(f) – WREG),
skip if (f) < (WREG)
(unsigned comparison)
None
Compares the contents of data memory
location ’f’ to the contents of WREG by
performing an unsigned subtraction.
If the contents of ’f’ are less than the
contents of WREG, then the fetched
instruction is discarded and a NOP is
executed instead, making this a
two-cycle instruction.
1
1 (2)
HERE
NLESS
LESS
Read
0011
Q2
Q2
No
=
=
<
=
f
=
255
Address (HERE)
?
WREG;
Address (LESS)
WREG;
Address (NLESS)
CPFSLT REG
:
:
0000
operation
Process
Data
Q3
Q3
No
ffff
f
operation
operation
Q4
Q4
No
No
ffff
DAW
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Q Cycle Activity:
Example:
Before Instruction
After Instruction
Decode
WREG
REG1
C
DC
WREG
REG1
C
DC
Q1
=
=
=
=
=
=
=
=
register ’f’
Decimal Adjust WREG Register
[label] DAW
0
s
If [ [WREG<7:4> > 9].OR.[C = 1] ].AND.
[WREG<3:0> > 9]
then
WREG<7:4> + 7
If [WREG<7:4> > 9].OR.[C = 1]
then
WREG<7:4> + 6
else
WREG<7:4>
If [WREG<3:0> > 9].OR.[DC = 1]
then
WREG<3:0> + 6
else
WREG<3:0>
C
DAW adjusts the eight-bit value in
WREG, resulting from the earlier addi-
tion of two variables (each in packed
BCD format) and produces a correct
packed BCD result.
s = 0:
s = 1:
1
1
DAW
Read
0010
Q2
0xA5
??
0
0
0x05
0x05
1
0
f
[0,1]
2000 Microchip Technology Inc.
255
REG1, 0
Result is placed in Data
memory location ’f’ and
Result is placed in Data
memory location ’f’.
WREG.
111s
Process
f<7:4>, s<7:4>;
f<3:0>, s<3:0>
Data
Q3
f,s
f<7:4>, s<7:4>;
f<7:4>, s<7:4>;
f<3:0>, s<3:0>;
ffff
register ’f’
and other
specified
register
Write
Q4
ffff