PIC16F716-I/P Microchip Technology Inc., PIC16F716-I/P Datasheet - Page 84

no-image

PIC16F716-I/P

Manufacturer Part Number
PIC16F716-I/P
Description
18 PIN, 3.5 KB FLASH, 128 RAM, 13 I/O
Manufacturer
Microchip Technology Inc.
Datasheet

Specifications of PIC16F716-I/P

A/d Inputs
4-Channel, 8-Bit
Cpu Speed
5 MIPS
Eeprom Memory
0 Bytes
Input Output
13
Memory Type
Flash
Number Of Bits
8
Package Type
18-pin PDIP
Programmable Memory
3.5K Bytes
Ram Size
128 Bytes
Speed
20 MHz
Timers
2-8-bit, 1-16-bit
Voltage, Range
2-5.5 V
Lead Free Status / Rohs Status
RoHS Compliant part Electrostatic Device

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
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
PIC16F716
DS41206A-page 82
RRF
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Example
SLEEP
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Example:
Rotate Right f through Carry
[ label ]
0
d
See description below
C
00
The contents of register ‘f’ are
rotated one bit to the right
through the Carry Flag. If ‘d’ is 0
the result is placed in the W
register. If ‘d’ is 1 the result is
placed back in register ‘f’.
1
1
RRF
Before Instruction
After Instruction
[ label ] SLEEP
None
00h
0
1
0
TO, PD
00
The power-down Status bit, PD
is cleared. Time out Status bit,
TO is set. Watchdog Timer and
its prescaler are cleared.
The processor is put into Sleep
mode with the oscillator
stopped.
1
1
SLEEP
f
[0,1]
REG1 = 1110 0110
C
REG1 = 1110 0110
W
C
WDT prescaler,
TO,
PD
C
127
WDT,
1100
REG1, 0
0000
RRF f,d
= 0
= 0111 0011
= 0
REGISTER F
dfff
0110
0011
ffff
Preliminary
SUBLW
Syntax:
Operands:
Operation:
Status
Affected:
Encoding:
Description:
Words:
Cycles:
Example 1:
Example 2:
Example 3:
Subtract W from Literal
[ label ]
0
k - (W)
C, DC, Z
11
The W register is subtracted (2’s
complement method) from the eight
bit literal ‘k’. The result is placed in
the W register.
1
1
SUBLW
Before Instruction
After Instruction
Before Instruction
After Instruction
Before Instruction
After Instruction
k
 2003 Microchip Technology Inc.
W = 1
C = ?
W = 1
C = 1; result is positive
W = 3
C = ?
W = 0xFF
C = 0; result is negative
W = 2
C = ?
W = 0
C = 1; result is zero
255
W)
SUBLW k
110x
0x02
kkkk
kkkk

Related parts for PIC16F716-I/P