PIC16F721-I/SO Microchip Technology, PIC16F721-I/SO Datasheet - Page 181

MCU PIC 4K FLASH 20-SOIC

PIC16F721-I/SO

Manufacturer Part Number
PIC16F721-I/SO
Description
MCU PIC 4K FLASH 20-SOIC
Manufacturer
Microchip Technology
Series
PIC® XLP™ 16Fr

Specifications of PIC16F721-I/SO

Core Size
8-Bit
Program Memory Size
7KB (4K x 14)
Peripherals
Brown-out Detect/Reset, POR, PWM, WDT
Core Processor
PIC
Speed
16MHz
Connectivity
I²C, SPI, UART/USART
Number Of I /o
17
Program Memory Type
FLASH
Ram Size
256 x 8
Voltage - Supply (vcc/vdd)
1.8 V ~ 5.5 V
Data Converters
A/D 12x8b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Package / Case
20-SOIC (0.300", 7.50mm Width)
Controller Family/series
PIC16F
No. Of I/o's
18
Ram Memory Size
256Byte
Cpu Speed
16MHz
No. Of Timers
3
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Eeprom Size
-
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
SUBWF
Syntax:
Operands:
Operation:
Status Affected: C, DC, Z
Description:
SWAPF
Syntax:
Operands:
Operation:
Status Affected:
Description:
 2010 Microchip Technology Inc.
Subtract W from f
[ label ] SUBWF f,d
0 f 127
d  [0,1]
(f) - (W) destination)
Subtract (2’s complement method)
W register from 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.
C = 0
C = 1
DC = 0
DC = 1
(f<3:0>)  (destination<7:4>),
The upper and lower nibbles of
Swap Nibbles in f
[ label ] SWAPF f,d
0  f  127
d  [0,1]
(f<7:4>)  (destination<3:0>)
None
register ‘f’ are exchanged. If ‘d’ is
‘0’, the result is placed in the W
register. If ‘d’ is ‘1’, the result is
placed in register ‘f’.
W  f
W  f
W<3:0>  f<3:0>
W<3:0>  f<3:0>
XORLW
Syntax:
Operands:
Operation:
Status Affected:
Description:
XORWF
Syntax:
Operands:
Operation:
Status Affected:
Description:
PIC16F/LF720/721
[ 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’ is
‘0’, the result is stored in the W
register. If ‘d’ is ‘1’, the result is
stored back in register ‘f’.
Exclusive OR W with f
Exclusive OR literal with W
[ label ] XORLW k
0 k 255
(W) .XOR. k W)
Z
The contents of the W register
are XOR’ed with the eight-bit
literal ‘k’. The result is placed in
the W register.
DS41430A-page 181
f,d

Related parts for PIC16F721-I/SO