PIC18C242 MICROCHIP [Microchip Technology], PIC18C242 Datasheet - Page 234

no-image

PIC18C242

Manufacturer Part Number
PIC18C242
Description
High-Performance Microcontrollers with 10-Bit A/D
Manufacturer
MICROCHIP [Microchip Technology]
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC18C242-I/SO
Manufacturer:
MICROCHIP
Quantity:
2 000
Part Number:
PIC18C242/JW
Manufacturer:
NS
Quantity:
10
PIC18CXX2
XORWF
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Q Cycle Activity:
Example:
DS39026B-page 234
Before Instruction
After Instruction
Q1
Decode
REG
WREG
REG
WREG
Q2
=
=
=
=
register ’f’
Exclusive OR WREG with f
[ label ] XORWF
0
d
a
(WREG) .XOR. (f)
N,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 reg-
ister 'f' (default). If ’a’ is 0, the
Access Bank will be selected, over-
riding the BSR value. If ’a’ is 1,
then the bank will be selected as
per the BSR value (default).
1
1
XORWF REG, 1, 0
Read
0001
0xAF
0xB5
0x1A
0xB5
f
[0,1]
[0,1]
255
10da
Q3
Process
Data
ffff
f,d,a
dest
Q4
destination
Write to
ffff
Preliminary
7/99 Microchip Technology Inc.

Related parts for PIC18C242