PIC16F57 Microchip Technology Inc., PIC16F57 Datasheet - Page 54

no-image

PIC16F57

Manufacturer Part Number
PIC16F57
Description
Flash-based, 8-bit Cmos Microcontroller Series
Manufacturer
Microchip Technology Inc.
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC16F57-I/P
Manufacturer:
Microchip Technology
Quantity:
26 657
Part Number:
PIC16F57-I/P
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Part Number:
PIC16F57-I/P
0
Part Number:
PIC16F57-I/SO
Manufacturer:
PANASONIC
Quantity:
12 933
Part Number:
PIC16F57-I/SO
Manufacturer:
MIC
Quantity:
20 000
Part Number:
PIC16F57-I/SO
0
Part Number:
PIC16F57-I/SS
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
PIC16F5X
XORLW
Syntax:
Operands:
Operation:
Status Affected: Z
Encoding:
Description:
Words:
Cycles:
Example:
XORWF
Syntax:
Operands:
Operation:
Status Affected: Z
Encoding:
Description:
Words:
Cycles:
Example:
DS41213D-page 52
Before Instruction
After Instruction
Before Instruction
After Instruction
W
W
REG
W
REG
W
=
=
Exclusive OR literal with W
[ label ] XORLW k
0 ≤ k ≤ 255
(W) .XOR. k → (W)
The contents of the W register are
XOR’ed with the eight-bit literal ‘k’.
The result is placed in the W
register.
1
1
XORLW 0xAF
Exclusive OR W with f
[ label ] XORWF
0 ≤ f ≤ 31
d ∈ [0,1]
(W) .XOR. (f) → (dest)
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’.
1
1
XORWF REG,1
1111
0001
0xB5
0x1A
=
=
=
=
0xAF
0xB5
0x1A
0xB5
kkkk
10df
kkkk
ffff
f, d
© 2007 Microchip Technology Inc.

Related parts for PIC16F57