PIC16F72-I/SO Microchip Technology Inc., PIC16F72-I/SO Datasheet - Page 82
![no-image](/images/manufacturer_photos/0/4/440/microchip_technology_inc__sml.jpg)
PIC16F72-I/SO
Manufacturer Part Number
PIC16F72-I/SO
Description
28 PIN, 3.5 KB FLASH, 128 RAM, 22 I/O
Manufacturer
Microchip Technology Inc.
Datasheet
1.PIC16F72-ISO.pdf
(136 pages)
Specifications of PIC16F72-I/SO
A/d Inputs
5-Channel, 8-Bit
Cpu Speed
5 MIPS
Eeprom Memory
0 Bytes
Input Output
22
Interface
I2C/SPI
Memory Type
Flash
Number Of Bits
8
Package Type
28-pin SOIC
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
Company:
Part Number:
PIC16F72-I/SO
Manufacturer:
MICROCHIP
Quantity:
3 290
Part Number:
PIC16F72-I/SO
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
PIC16F72
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:
DS39597B-page 80
(f) - (W) → (destination)
Subtract (2’s complement method)
Subtract W from f
[ label ]
0 ≤ f ≤ 127
d ∈ [0,1]
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 ≤ 255
k - (W) → (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 ≤ f ≤ 127
d ∈ [0,1]
(f<3:0>) → (destination<7:4>),
(f<7:4>) → (destination<3:0>)
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’.
SUBWF f,d
SUBLW k
XORLW
Syntax:
Operands:
Operation:
Status Affected:
Description:
XORWF
Syntax:
Operands:
Operation:
Status Affected:
Description:
Exclusive OR W with f
[ label ] XORWF
0 ≤ f ≤ 127
d ∈ [0,1]
(W) .XOR. (f) → (destination)
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 → (W)
Z
Exclusive OR Literal with W
[ label ]
0 ≤ k ≤ 255
The contents of the W register
are XOR’ed with the eight-bit
literal ‘k’. The result is placed in
the W register.
2002 Microchip Technology Inc.
XORLW k
f,d