DatasheetQ Logo
Electronic component search and free download site. Transistors,MosFET ,Diode,Integrated circuits

PIC16C558A-04I/SS View Datasheet(PDF) - Microchip Technology

Part Name
Description
Manufacturer
PIC16C558A-04I/SS
Microchip
Microchip Technology 
PIC16C558A-04I/SS Datasheet PDF : 108 Pages
First Prev 61 62 63 64 65 66 67 68 69 70 Next Last
XORLW
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Example:
Exclusive OR Literal with W
[ label ] XORLW k
0 k 255
(W) .XOR. k → (W)
Z
11
1010 kkkk kkkk
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
Before Instruction
W = 0xB5
After Instruction
W = 0x1A
XORWF
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Example
Exclusive OR W with f
[ label ] XORWF f,d
0 f 127
d [0,1]
(W) .XOR. (f) → (dest)
Z
00
0110 dfff ffff
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
Before Instruction
REG = 0xAF
W = 0xB5
After Instruction
REG = 0x1A
W = 0xB5
PIC16C55X
2002 Microchip Technology Inc.
Preliminary
DS40143D-page 65

Share Link: 

datasheetq.com  [ Privacy Policy ]Request Datasheet ] [ Contact Us ]