PIC16C65A Microchip Technology, PIC16C65A Datasheet - Page 148

no-image

PIC16C65A

Manufacturer Part Number
PIC16C65A
Description
8-Bit CMOS Microcontrollers
Manufacturer
Microchip Technology
Datasheets

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC16C65A-04/L
Manufacturer:
Microchip Technology
Quantity:
10 000
Part Number:
PIC16C65A-04/L
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Part Number:
PIC16C65A-04/P
Manufacturer:
Microchip Technology
Quantity:
135
Part Number:
PIC16C65A-04/PQ
Manufacturer:
Microchip Technology
Quantity:
10 000
Part Number:
PIC16C65A-04/PT
Manufacturer:
Microchip Technology
Quantity:
10 000
Part Number:
PIC16C65A-04E/L
Manufacturer:
Microchip Technology
Quantity:
10 000
Part Number:
PIC16C65A-04E/PQ
Manufacturer:
Microchip Technology
Quantity:
10 000
Part Number:
PIC16C65A-10/L
Manufacturer:
Microchip Technology
Quantity:
135
Part Number:
PIC16C65A-10/P
Quantity:
6
Part Number:
PIC16C65A-10/P
Quantity:
17
PIC16C6X
CLRF
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Q Cycle Activity:
Example
DS30234D-page 148
Clear f
[ label ] CLRF
0
00h
1
Z
The contents of register 'f' are cleared
and the Z bit is set.
1
1
Before Instruction
After Instruction
Decode
CLRF
Q1
00
f
Z
127
(f)
FLAG_REG
FLAG_REG
Z
register
0001
Read
Q2
'f'
FLAG_REG
f
Process
1fff
data
Q3
=
=
=
0x5A
0x00
1
register 'f'
ffff
Write
Q4
CLRW
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Q Cycle Activity:
Example
CLRWDT
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Q Cycle Activity:
Example
Clear W
[ label ] CLRW
None
00h
1
Z
W register is cleared. Zero bit (Z) is
set.
1
1
Before Instruction
After Instruction
Clear Watchdog Timer
[ label ] CLRWDT
None
00h
0
1
1
TO, PD
CLRWDT instruction resets the Watch-
dog Timer. It also resets the prescaler
of the WDT. Status bits TO and PD are
set.
1
1
Before Instruction
After Instruction
CLRW
CLRWDT
Decode
Decode
Q1
Q1
00
00
TO
Z
WDT prescaler,
PD
1997 Microchip Technology Inc.
WDT
(W)
W
W
Z
WDT counter =
WDT counter =
WDT prescaler=
TO
PD
Operation
Operation
0001
0000
Q2
No-
Q2
No-
=
=
=
0x5A
0x00
1
0xxx
Process
0110
Process
data
data
Q3
Q3
=
=
?
0x00
0
1
1
Write to
Counter
xxxx
0100
Clear
WDT
Q4
Q4
W

Related parts for PIC16C65A