PIC18F2331-E/ML MICROCHIP [Microchip Technology], PIC18F2331-E/ML Datasheet - Page 324

no-image

PIC18F2331-E/ML

Manufacturer Part Number
PIC18F2331-E/ML
Description
28/40/44-Pin Enhanced Flash Microcontrollers with nanoWatt Technology, High-Performance PWM and A/D
Manufacturer
MICROCHIP [Microchip Technology]
Datasheet
PIC18F2331/2431/4331/4431
XORWF
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Example:
DS39616D-page 324
Q Cycle Activity:
Before Instruction
After Instruction
Decode
REG
W
REG
W
Q1
=
=
=
=
register ‘f’
Exclusive OR W with f
[ label ]
0  f  255
d  [0,1]
a  [0,1]
(W) .XOR. (f) dest
N, Z
Exclusive OR the contents of W with
register, ‘f’. If ‘d’ is ‘0’, the result is
stored in W. If ‘d’ is ‘1’, the result is
stored back in the register, ‘f’. If ‘a’ is
‘0’, the Access Bank will be selected,
overriding the BSR value. If ‘a’ is ‘1’,
then the bank will be selected as per
the BSR value.
1
1
XORWF
Read
0001
Q2
0xAF
0xB5
0x1A
0xB5
XORWF
REG
10da
Process
Data
Q3
f [,d [,a]]
ffff
destination
Write to
Q4
ffff
 2010 Microchip Technology Inc.

Related parts for PIC18F2331-E/ML