PIC16C63-20/TQ Microchip Technology, PIC16C63-20/TQ Datasheet - Page 148

no-image

PIC16C63-20/TQ

Manufacturer Part Number
PIC16C63-20/TQ
Description
8-Bit CMOS Microcontrollers
Manufacturer
Microchip Technology
Datasheet
DataSheet4U.com
www.DataSheet4U.com
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
CLRF
Decode
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
DataSheet4U.com
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
DataSheet4U.com
Clear W
[ label ] CLRW
None
00h
1
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
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
Z
TO, PD
Decode
CLRW
Decode
CLRWDT
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
Operation
Operation
0001
0000
Q2
No-
Q2
No-
=
=
=
0x5A
0x00
1
Process
Process
0xxx
0110
data
data
Q3
Q3
=
=
?
0x00
0
1
1
Counter
Write to
xxxx
0100
Clear
WDT
Q4
Q4
W
DataShee

Related parts for PIC16C63-20/TQ