English
Language : 

PIC10F222T-I-OT Datasheet, PDF (52/86 Pages) Microchip Technology – High-Performance Microcontrollers with 8-bit A/D
PIC10F220/222
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’.
DS41270E-page 50
© 2007 Microchip Technology Inc.