PIC16F883 Microchip Technology Inc., PIC16F883 Datasheet - Page 235
![no-image](/images/manufacturer_photos/0/4/440/microchip_technology_inc__sml.jpg)
PIC16F883
Manufacturer Part Number
PIC16F883
Description
28/40/44-pin Flash-based, 8-bit Cmos Microcontrollers With Nanowatt Technology
Manufacturer
Microchip Technology Inc.
Datasheet
1.PIC16F883.pdf
(288 pages)
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC16F883
Manufacturer:
台湾明智类比
Quantity:
20 000
Company:
Part Number:
PIC16F883-I/ML
Manufacturer:
MICROCHIP
Quantity:
1 200
Company:
Part Number:
PIC16F883-I/SO
Manufacturer:
MICROCHIP
Quantity:
8 820
Part Number:
PIC16F883-I/SO
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Company:
Part Number:
PIC16F883-I/SP
Manufacturer:
MICROCHIP
Quantity:
3 000
Company:
Part Number:
PIC16F883-I/SP
Manufacturer:
MICROCHIP
Quantity:
18
Part Number:
PIC16F883-I/SP
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Company:
Part Number:
PIC16F883-I/SS
Manufacturer:
ALPS
Quantity:
12 000
Part Number:
PIC16F883-I/SS
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
SUBWF
Syntax:
Operands:
Operation:
Status Affected: C, DC, Z
Description:
SWAPF
Syntax:
Operands:
Operation:
Status Affected:
Description:
XORLW
Syntax:
Operands:
Operation:
Status Affected:
Description:
© 2007 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
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’ is
‘0’, the result is placed in the W
register. If ‘d’ is ‘1’, the result is
placed in register ‘f’.
The contents of the W register
Exclusive OR literal with W
[ label ] XORLW k
0 ≤ k ≤ 255
(W) .XOR. k → (W)
Z
are XOR’ed with the eight-bit
literal ‘k’. The result is placed in
the W register.
W > f
W ≤ f
W<3:0> > f<3:0>
W<3:0> ≤ f<3:0>
PIC16F882/883/884/886/887
Preliminary
XORWF
Syntax:
Operands:
Operation:
Status Affected:
Description:
(W) .XOR. (f) → (destination)
Z
Exclusive OR W with f
[ label ] XORWF
0 ≤ f ≤ 127
d ∈ [0,1]
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’.
DS41291D-page 233
f,d