PIC10F200/202/204/206
TRIS
Load TRIS Register
XORWF
Syntax:
Exclusive OR W with f
Syntax:
[ label ] TRIS
f
[ label ] XORWF f,d
Operands:
Operation:
f = 6
Operands:
0 ≤ f ≤ 31
d ∈ [0,1]
(W) → TRIS register f
Status Affected: None
Operation:
(W) .XOR. (f) → (dest)
Description:
TRIS register ‘f’ (f = 6 or 7) is
loaded with the contents of the W
register
Status Affected:
Description:
Z
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’.
XORLW
Exclusive OR literal with W
Syntax:
[ label ] XORLW k
0 ≤ k ≤ 255
Operands:
Operation:
(W) .XOR. k → (W)
Z
Status Affected:
Description:
The contents of the W register are
XOR’ed with the eight-bit literal ‘k’.
The result is placed in the W
register.
DS41239D-page 58
© 2007 Microchip Technology Inc.