PIC17C42 Microchip Technology, PIC17C42 Datasheet - Page 141

no-image

PIC17C42

Manufacturer Part Number
PIC17C42
Description
High-Performance 8-Bit CMOS EPROM/ROM Microcontroller
Manufacturer
Microchip Technology
Datasheets

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC17C42-16/JW
Manufacturer:
AD
Quantity:
12
Part Number:
PIC17C42A-16/L
Manufacturer:
Microchip Technology
Quantity:
10 000
Part Number:
PIC17C42A-16/PQ
Manufacturer:
Microchip Technology
Quantity:
10 000
Part Number:
PIC17C42A-16/PQ
Manufacturer:
MICROCH
Quantity:
20 000
Part Number:
PIC17C42A-16/PT
Manufacturer:
Microchip Technology
Quantity:
10 000
Part Number:
PIC17C42A-16E/L
Manufacturer:
Microchip Technology
Quantity:
10 000
Part Number:
PIC17C42A-16E/PQ
Manufacturer:
Microchip Technology
Quantity:
10 000
Part Number:
PIC17C42A-25/P
Manufacturer:
MICROCLOCK
Quantity:
20 000
XORLW
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Q Cycle Activity:
Example:
1996 Microchip Technology Inc.
Before Instruction
After Instruction
Decode
WREG
WREG
Q1
=
=
literal 'k'
Exclusive OR Literal with
WREG
The contents of WREG are XOR’ed
with the 8-bit literal 'k'. The result is
placed in WREG.
XORLW
[ label ] XORLW k
0
(WREG) .XOR. k
Z
1
1
Read
Q2
1011
0xB5
0x1A
k
255
0xAF
0100
Execute
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]
255
PIC17C4X
REG, 1
110d
Execute
Q3
DS30412C-page 141
ffff
f,d
dest)
destination
Write to
Q4
ffff

Related parts for PIC17C42