PIC16C76-10/JW Microchip Technology, PIC16C76-10/JW Datasheet - Page 162

no-image

PIC16C76-10/JW

Manufacturer Part Number
PIC16C76-10/JW
Description
8-Bit CMOS Microcontrollers with A/D Converter
Manufacturer
Microchip Technology
Datasheet
PIC16C7X
XORLW
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Q Cycle Activity:
Example:
DS30390E-page 162
The contents of the W register are
XOR’ed with the eight bit literal 'k'.
The result is placed in the W regis-
ter.
1
1
XORLW
Before Instruction
After Instruction
Exclusive OR Literal with W
[ label ]
0
(W) .XOR. k
Z
Decode
11
Q1
k
255
literal 'k'
XORLW k
1010
0xAF
Read
W
W
Q2
=
=
W)
Process
kkkk
data
0xB5
0x1A
Q3
Write to
kkkk
Q4
W
XORWF
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Q Cycle Activity:
Example
Exclusive OR W with f
[ label ]
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'.
1
1
XORWF
Before Instruction
After Instruction
Z
Decode
Q1
00
f
[0,1]
1997 Microchip Technology Inc.
127
XORWF
register
REG
W
REG
W
0110
Read
REG
Q2
'f'
destination)
1
dfff
Process
=
=
=
=
f,d
data
Q3
0xAF
0xB5
0x1A
0xB5
destination
ffff
Write to
Q4

Related parts for PIC16C76-10/JW