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

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
10.1
 2003 Microchip Technology Inc.
ADDLW
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Example
ADDWF
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Example
Instruction Descriptions
Add Literal and W
[ label ] ADDLW
0
(W) + k
C, DC, Z
11
The contents of the W register
are added to the eight bit literal
‘k’ and the result is placed in the
W register.
1
1
ADDLW
Before Instruction
After Instruction
Add W and f
[ label ] ADDWF
0
d
(W) + (f)
C, DC, Z
00
Add the contents of the W
register with 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
ADDWF
Before Instruction
After Instruction
k
f
W = 0x10
W = 0x25
W
REG1 = 0xC2
W
REG1 = 0xC2
Z
C
DC
127
255
111x
0x15
0111
REG1, 0
(W)
(dest)
= 0x17
= 0xD9
= 0
= 0
= 0
kkkk
dfff
k
f,d
kkkk
ffff
Preliminary
ANDLW
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Example
ANDWF
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Example
AND Literal with W
[ label ] ANDLW
0
(W) .AND. (k)
Z
11
The contents of W register are
AND’ed with the eight bit literal
‘k’. The result is placed in the W
register.
1
1
ANDLW
Before Instruction
After Instruction
AND W with f
[ label ] ANDWF
0
d
(W) .AND. (f)
Z
00
AND the W register with 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
ANDWF
Before Instruction
After Instruction
k
f
PIC16F716
127
255
W = 0xA3
W = 0x03
W
REG1 = 0xC2
W
REG1 = 0x02
1001
0x5F
0101
REG1, 1
= 0x17
= 0x17
DS41206A-page 73
(dest)
(W)
kkkk
dfff
k
f,d
kkkk
ffff

Related parts for PIC16F716-I/P