PIC16C711-04/SP Microchip Technology, PIC16C711-04/SP Datasheet - Page 74

no-image

PIC16C711-04/SP

Manufacturer Part Number
PIC16C711-04/SP
Description
8-Bit CMOS Microcontrollers with A/D Converter
Manufacturer
Microchip Technology
Datasheet
PIC16C71X
CLRF
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Q Cycle Activity:
Example
DS30272A-page 74
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
Z
WDT prescaler,
TO
PD
1997 Microchip Technology Inc.
WDT
(W)
W
W
Z
WDT counter =
WDT counter =
WDT prescaler=
TO
PD
0001
0000
NOP
NOP
Q2
Q2
=
=
=
0x5A
0x00
1
0xxx
Process
0110
Process
data
data
Q3
Q3
=
=
?
0x00
0
1
1
Counter
Write to
xxxx
0100
Clear
WDT
Q4
Q4
W

Related parts for PIC16C711-04/SP