DatasheetQ Logo
Electronic component search and free download site. Transistors,MosFET ,Diode,Integrated circuits

PIC17CR42-08/SP View Datasheet(PDF) - Microchip Technology

Part Name
Description
Manufacturer
PIC17CR42-08/SP
Microchip
Microchip Technology 
PIC17CR42-08/SP Datasheet PDF : 240 Pages
First Prev 111 112 113 114 115 116 117 118 119 120 Next Last
PIC17C4X
CLRWDT
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Q Cycle Activity:
Q1
Decode
Clear Watchdog Timer
[ label ] CLRWDT
None
00h WDT
0 WDT postscaler,
1 TO
1 PD
TO, PD
0000 0000 0000 0100
CLRWDT instruction resets the watchdog
timer. It also resets the prescaler of the
WDT. Status bits TO and PD are set.
1
1
Q2
Read
register
ALUSTA
Q3
Execute
Q4
NOP
Example:
CLRWDT
Before Instruction
WDT counter
=
After Instruction
WDT counter
=
WDT Postscaler =
TO
=
PD
=
?
0x00
0
1
1
COMF
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Q Cycle Activity:
Q1
Decode
Complement f
[ label ] COMF f,d
0 f 255
d [0,1]
( f ) (dest)
Z
0001 001d ffff ffff
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
Q2
Read
register 'f'
Q3
Execute
Q4
Write
register 'f'
Example:
COMF
Before Instruction
REG1 = 0x13
After Instruction
REG1 = 0x13
WREG = 0xEC
REG1,0
DS30412C-page 118
© 1996 Microchip Technology Inc.

Share Link: 

datasheetq.com  [ Privacy Policy ]Request Datasheet ] [ Contact Us ]