PIC16F716 Microchip Technology, PIC16F716 Datasheet - Page 78

no-image

PIC16F716

Manufacturer Part Number
PIC16F716
Description
8-bit Flash-based Microcontroller with A/D Converter and Enhanced Capture/Compare/PWM
Manufacturer
Microchip Technology
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC16F716
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Part Number:
PIC16F716-1/P4AP
Manufacturer:
a
Quantity:
4
Part Number:
PIC16F716-E/ML
0
Part Number:
PIC16F716-E/SO
Manufacturer:
PIC
Quantity:
5 510
Part Number:
PIC16F716-E/SO
Manufacturer:
AMD
Quantity:
5 510
Part Number:
PIC16F716-E/SS
Manufacturer:
BCD
Quantity:
10
Part Number:
PIC16F716-I/P
Manufacturer:
MICROCHIP
Quantity:
5 373
Part Number:
PIC16F716-I/P
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Company:
Part Number:
PIC16F716-I/P
Quantity:
6 994
Company:
Part Number:
PIC16F716-I/P
Quantity:
3 900
Part Number:
PIC16F716-I/SO
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Part Number:
PIC16F716-I/SO
0
Company:
Part Number:
PIC16F716-I/SO
Quantity:
2 000
Company:
Part Number:
PIC16F716-I/SO
Quantity:
1 680
Part Number:
PIC16F716-I/SS
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
PIC16F716
DS41206A-page 76
CLRW
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Example
CLRWDT
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Example
Clear W
[ label ] CLRW
None
00h
1
Z
00
W register is cleared. Zero bit
(Z) is set.
1
1
CLRW
Before Instruction
After Instruction
Clear Watchdog Timer
[ label ] CLRWDT
None
00h
0
1
1
TO, PD
00
CLRWDT instruction resets the
Watchdog Timer. It also resets
the prescaler of the WDT. Status
bits TO and PD are set.
1
1
CLRWDT
Before Instruction
After Instruction
Z
WDT prescaler,
TO
PD
(W)
WDT
W = 0x5A
W = 0x00
Z = 1
WDT counter = ?
WDT counter
WDT prescaler = 0
TO
PD
0001
0000
0000
0110
= 0x00
= 1
= 1
0011
0100
Preliminary
COMF
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Example
DECF
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Example
Syntax:
Complement f
[ label ] COMF
0
d
(f)
Z
00
The contents of register ‘f’ are
complemented. If ‘d’ is 0 the
result is stored in W. If ‘d’ is 1
the result is stored back in
register ‘f’.
1
1
COMF
Before Instruction
After Instruction
Decrement f
[ label ] DECF f,d
0
d
(f) - 1
Z
Decrement register ‘f’. If ‘d’ is 0
the result is stored in the W
register. If ‘d’ is 1 the result is
stored back in register ‘f’.
1
1
DECF
Before Instruction
After Instruction
00
 2003 Microchip Technology Inc.
f
f
[0,1]
[0,1]
(dest)
127
127
REG1 = 0x13
REG1 = 0x13
W
CNT = 0x01
Z
CNT = 0x00
Z
(dest)
1001
REG1, 0
0011
CNT, 1
= 0
= 1
= 0xEC
dfff
dfff
f,d
ffff
ffff

Related parts for PIC16F716