PIC16F818-I/P Microchip Technology Inc., PIC16F818-I/P Datasheet - Page 112

no-image

PIC16F818-I/P

Manufacturer Part Number
PIC16F818-I/P
Description
18 PIN, 1.75 KB FLASH, 128 RAM, 16 I/O
Manufacturer
Microchip Technology Inc.
Datasheet

Specifications of PIC16F818-I/P

A/d Inputs
5-Channel, 10-Bit
Cpu Speed
5 MIPS
Eeprom Memory
128 Bytes
Input Output
16
Interface
I2C/SPI
Memory Type
Flash
Number Of Bits
8
Package Type
18-pin PDIP
Programmable Memory
1.75K 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:
PIC16F818-I/P
Manufacturer:
Microchip Technology
Quantity:
295
PIC16F818/819
SUBLW
Syntax:
Operands:
Operation:
Status Affected: C, DC, Z
Description:
SUBWF
Syntax:
Operands:
Operation:
Status Affected: C, DC, Z
Description:
SWAPF
Syntax:
Operands:
Operation:
Status Affected:
Description:
DS39598E-page 110
Subtract W from f
[ label ]
0
d
(f) – (W)
Subtract (2’s complement method)
W register from register ‘f’. If
‘d’ = 0, the result is stored in the W
register. If ‘d’ = 1, the result is
stored back in register ‘f’.
Subtract W from Literal
[ label ]
0
k – (W)
The W register is subtracted (2’s
complement method) from the
eight-bit literal ‘k’. The result is
placed in the W register.
Swap Nibbles in f
[ label ] SWAPF f,d
0
d
(f<3:0>)
(f<7:4>)
None
The upper and lower nibbles of
register ‘f’ are exchanged. If
‘d’ = 0, the result is placed in W
register. If ‘d’ = 1, the result is
placed in register ‘f’.
f
k
[0,1]
f
[0,1]
127
255
127
SUBWF f,d
SUBLW k
W)
destination)
(destination<7:4>),
(destination<3:0>)
XORLW
Syntax:
Operands:
Operation:
Status Affected:
Description:
XORWF
Syntax:
Operands:
Operation:
Status Affected:
Description:
Exclusive OR W with f
[ label ] XORWF
0
d
(W) .XOR. (f)
Z
Exclusive OR the contents of the
W register with register ‘f’. If
‘d’ = 0, the result is stored in the
W register. If ‘d’ = 1, the result is
stored back in register ‘f’.
(W) .XOR. k
Z
The contents of the W register
Exclusive OR Literal with W
[ label ]
0
are XORed with the eight-bit
literal ‘k’. The result is placed in
the W register.
f
[0,1]
 2004 Microchip Technology Inc.
k
127
255
XORLW k
destination)
W)
f,d

Related parts for PIC16F818-I/P