PIC16F631-E/P Microchip Technology, PIC16F631-E/P Datasheet - Page 227

IC PIC MCU FLASH 1KX14 20DIP

PIC16F631-E/P

Manufacturer Part Number
PIC16F631-E/P
Description
IC PIC MCU FLASH 1KX14 20DIP
Manufacturer
Microchip Technology
Series
PIC® 16Fr

Specifications of PIC16F631-E/P

Core Processor
PIC
Core Size
8-Bit
Speed
20MHz
Peripherals
Brown-out Detect/Reset, POR, WDT
Number Of I /o
18
Program Memory Size
1.75KB (1K x 14)
Program Memory Type
FLASH
Eeprom Size
128 x 8
Ram Size
64 x 8
Voltage - Supply (vcc/vdd)
2 V ~ 5.5 V
Oscillator Type
Internal
Operating Temperature
-40°C ~ 125°C
Package / Case
20-DIP (0.300", 7.62mm)
For Use With
658-1047-5 - BOARD EVALUATION ACCESSTOUCHAC162061 - HEADER INTRFC MPLAB ICD2 20PINAC164039 - MODULE SKT PROMATE II 20DIP/SOICACICE0203 - MPLABICE 20P 300 MIL ADAPTER
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Data Converters
-
Connectivity
-
SUBWF
Syntax:
Operands:
Operation:
Status Affected: C, DC, Z
Description:
SWAPF
Syntax:
Operands:
Operation:
Status Affected:
Description:
© 2008 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>
PIC16F631/677/685/687/689/690
XORLW
Syntax:
Operands:
Operation:
Status Affected:
Description:
XORWF
Syntax:
Operands:
Operation:
Status Affected:
Description:
[ 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.
DS41262E-page 225
f,d

Related parts for PIC16F631-E/P