PIC17C752 MICROCHIP [Microchip Technology], PIC17C752 Datasheet - Page 198

no-image

PIC17C752

Manufacturer Part Number
PIC17C752
Description
High-Performance 8-Bit CMOS EPROM Microcontrollers
Manufacturer
MICROCHIP [Microchip Technology]
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC17C752-16/L
Manufacturer:
Microchip
Quantity:
120
Part Number:
PIC17C752-16/L
Manufacturer:
Microchip Technology
Quantity:
10 000
Part Number:
PIC17C752-16/PT
Manufacturer:
Microchip Technology
Quantity:
10 000
Part Number:
PIC17C752-16E/L
Manufacturer:
Microchip Technology
Quantity:
10 000
Part Number:
PIC17C752-16E/PT
Manufacturer:
Microchip Technology
Quantity:
10 000
Part Number:
PIC17C752-16I/L
Manufacturer:
Microchip Technology
Quantity:
10 000
Part Number:
PIC17C752-33/L
Manufacturer:
Microchip
Quantity:
304
Part Number:
PIC17C752-33I/L
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Part Number:
PIC17C752-ES
Manufacturer:
Microchip
Quantity:
18
DCFSNZ
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Q Cycle Activity:
If skip:
Example:
DS30264A-page 198
Before Instruction
After Instruction
operation
Decode
TEMP_VALUE
TEMP_VALUE
If TEMP_VALUE
If TEMP_VALUE
Q1
Q1
No
PC
PC
register 'f'
operation
Decrement f, skip if not 0
[ label ] DCFSNZ f,d
0
d
(f) – 1
skip if not 0
None
The contents of register 'f' are decre-
mented. If 'd' is 0 the result is placed in
WREG. If 'd' is 1 the result is placed
back in register 'f'.
If the result is not 0, the next instruc-
tion, which is already fetched, is dis-
carded, and an NOP is executed
instead making it a two-cycle instruc-
tion.
1
1(2)
HERE
ZERO
NZERO
Read
0010
Q2
Q2
No
f
[0,1]
255
=
=
=
=
=
(dest);
DCFSNZ
:
:
011d
operation
?
TEMP_VALUE - 1,
0;
Address (ZERO)
0;
Address (NZERO)
Process
Data
Q3
Q3
No
ffff
TEMP, 1
destination
operation
Write to
Q4
Q4
No
ffff
GOTO
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Q Cycle Activity:
Example:
After Instruction
operation
Decode
PC =
Q1
No
Address (THERE)
Read literal
operation
Unconditional Branch
[ label ]
0
k
k<12:8>
PC
None
GOTO allows an unconditional branch
anywhere within an 8K page bound-
ary. The thirteen bit immediate value is
loaded into PC bits <12:0>. Then the
upper eight bits of PC are loaded into
PCLATH. GOTO is always a two-cycle
instruction.
1
2
GOTO THERE
110k
Q2
No
'k'
k
PC<12:0>;
:13>
1997 Microchip Technology Inc.
8191
GOTO k
kkkk
PCLATH<4:0>,
operation
Process
Data
PCLATH<7:5>
Q3
No
kkkk
Write to PC
operation
Q4
No
kkkk

Related parts for PIC17C752