PIC10F200/202/204/206
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 8-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’.
DS40001239F-page 52
2004-2014 Microchip Technology Inc.