PIC17C752-08/CL MICROCHIP [Microchip Technology], PIC17C752-08/CL Datasheet - Page 229

no-image

PIC17C752-08/CL

Manufacturer Part Number
PIC17C752-08/CL
Description
High-Performance 8-Bit CMOS EPROM Microcontrollers with 10-bit A/D
Manufacturer
MICROCHIP [Microchip Technology]
Datasheet
XORLW
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Q Cycle Activity:
Example:
1998 Microchip Technology Inc.
Before Instruction
After Instruction
Decode
WREG
WREG
Q1
=
=
literal 'k'
Exclusive OR Literal with
WREG
[ label ] XORLW k
0
(WREG) .XOR. k
Z
The contents of WREG are XOR’ed
with the 8-bit literal 'k'. The result is
placed in WREG.
1
1
XORLW
Read
Q2
1011
0xB5
0x1A
k
255
0xAF
0100
Process
Data
Q3
kkkk
WREG)
Write to
WREG
Q4
kkkk
XORWF
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Q Cycle Activity:
Example:
Before Instruction
After Instruction
Decode
REG
WREG
REG
WREG
Q1
=
=
=
=
register 'f'
Exclusive OR WREG with f
[ label ] XORWF
0
d
(WREG) .XOR. (f)
Z
Exclusive OR the contents of WREG
with register 'f'. If 'd' is 0 the result is
stored in WREG. If 'd' is 1 the result is
stored back in the register 'f'.
1
1
XORWF
Read
0000
Q2
0xAF
0xB5
0x1A
0xB5
f
[0,1]
PIC17C7XX
255
REG, 1
110d
Process
Data
Q3
DS30289A-page 229
ffff
f,d
dest)
destination
Write to
Q4
ffff

Related parts for PIC17C752-08/CL