English
Language : 

PIC12F510 Datasheet, PDF (80/114 Pages) Microchip Technology – 8/14-Pin, 8-Bit Flash Microcontroller
PIC12F510/16F506
TRIS
Load TRIS Register
Syntax:
Operands:
Operation:
Status Affected:
Description:
[ 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’.
DS41268B-page 78
Preliminary
© 2006 Microchip Technology Inc.