|
PIC12F508_1 Datasheet, PDF (64/98 Pages) Microchip Technology – 8/14-Pin, 8-Bit Flash Microcontrollers | |||
|
◁ |
PIC12F508/509/16F505
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â.
DS41236A-page 62
Preliminary
 2004 Microchip Technology Inc.
|
▷ |