PIC17C42 Microchip Technology, PIC17C42 Datasheet - Page 118

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
CLRWDT
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Q Cycle Activity:
Example:
DS30412C-page 118
Before Instruction
After Instruction
Decode
WDT counter
WDT counter
WDT Postscaler
TO
PD
Q1
Clear Watchdog Timer
[ label ] CLRWDT
None
00h
0
1
1
CLRWDT instruction resets the watchdog
timer. It also resets the prescaler of the
WDT. Status bits TO and PD are set.
1
1
CLRWDT
TO, PD
ALUSTA
register
Read
0000
Q2
WDT postscaler,
TO
PD
WDT
=
=
=
=
=
0000
?
0x00
0
1
1
Execute
Q3
0000
NOP
Q4
0100
COMF
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Q Cycle Activity:
Example:
Before Instruction
After Instruction
Decode
REG1
REG1
WREG
Q1
=
=
=
register 'f'
Complement f
[ label ] COMF
0
d
Z
The contents of register 'f' are comple-
mented. If 'd' is 0 the result is stored in
WREG. If 'd' is 1 the result is stored
back in register 'f'.
1
1
COMF
( f )
Read
0001
Q2
0x13
0x13
0xEC
f
[0,1]
1996 Microchip Technology Inc.
255
(dest)
001d
Execute
REG1,0
Q3
f,d
ffff
register 'f'
Write
Q4
ffff

Related parts for PIC17C42