PIC10F200/202/204/206
TRIS
Syntax:
Operands:
Operation:
Status Affected:
Description:
Load TRIS Register
[
label
] TRIS
f=
6
(W)
→
TRIS register f
None
TRIS register ‘f’ (f = 6 or 7) is
loaded with the contents of the W
register
Operation:
Status Affected:
Description:
f
XORWF
Syntax:
Operands:
Exclusive OR W with f
[
label
] XORWF
0
≤
f
≤
31
d
∈
[0,1]
(W) .XOR. (f)
→ (dest)
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’.
f,d
XORLW
Syntax:
Operands:
Operation:
Status Affected:
Description:
Exclusive OR literal with W
[
label
] XORLW k
0
≤
k
≤
255
(W) .XOR. k
→ (W)
Z
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.