PIC12F510-I/L MICROCHIP [Microchip Technology], PIC12F510-I/L Datasheet - Page 80

no-image

PIC12F510-I/L

Manufacturer Part Number
PIC12F510-I/L
Description
8/14-Pin, 8-Bit Flash Microcontroller
Manufacturer
MICROCHIP [Microchip Technology]
Datasheet
PIC12F510/16F506
XORLW
Syntax:
Operands:
Operation:
Status Affected: Z
Description:
DS41268B-page 78
TRIS
Syntax:
Operands:
Operation:
Status Affected: None
Description:
Exclusive OR literal with W
[label ]
0
(W) .XOR. k
The contents of the W register are
XOR’ed with the eight-bit literal ‘k’.
The result is placed in the W
register.
Load TRIS Register
[ label ] TRIS
f =
(W)
TRIS register ‘f’ (f = 6 or 7) is
loaded with the contents of the W
register
k
6
255
TRIS register f
XORLW k
W)
f
Preliminary
XORWF
Syntax:
Operands:
Operation:
Status Affected: Z
Description:
Exclusive OR W with f
[ label ] XORWF
0
d
(W) .XOR. (f)
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
[0,1]
© 2006 Microchip Technology Inc.
31
dest)
f,d

Related parts for PIC12F510-I/L