English
Language : 

PIC16F526 Datasheet, PDF (78/122 Pages) Microchip Technology – 14-Pin, 8-Bit Flash Microcontroller
PIC16F526
TRIS
Syntax:
Operands:
Operation:
Status Affected:
Description:
Load TRIS Register
[ label ] TRIS f
f=6
(W)  TRIS register f
None
TRIS register ‘f’ (f = 6 or 7) is
loaded with the contents of the W
register
XORLW
Exclusive OR literal with W
Syntax:
[label ] XORLW k
Operands:
0 k 255
Operation:
(W) .XOR. k W)
Status Affected: Z
Description:
The contents of the W register are
XOR’ed with the eight-bit literal ‘k’.
The result is placed in the W
register.
XORWF
Exclusive OR W with f
Syntax:
[ label ] XORWF f,d
Operands:
0  f  31
d  [0,1]
Operation:
(W) .XOR. (f) dest)
Status Affected: Z
Description:
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’.
DS41326D-page 78
 2010 Microchip Technology Inc.