English
Language : 

Z86E3016PSG Datasheet, PDF (302/348 Pages) Zilog, Inc. – Z86E3016PSG
Z8 Family of Microcontrollers
User Manual
284
Logical Exclusive OR
XOR dst, src
Instruction Format
OPC
OPC
OPC
dst src
src
dst
Cycles
6
6
OPC
(Hex)
82
83
Address
Mode
dst src
r
r
r
lr
dst
10
84
R
R
10
85
R
IR
src
10
86
R
IM
10
87 IR IM
Operation
dst ← dst XOR src
The source operand is logically EXCLUSIVE ORed with the destination
operand. The XOR operation results in a 1 being stored in the destination
operand whenever the corresponding bits in the two operands are differ-
ent, otherwise a 0 is stored. The contents of the source operand are not
affected.
C
Unaffected
Z
Set if the result is zero; cleared otherwise.
S
Set if the result of bit 7 is set; cleared otherwise.
V
Always reset to 0
D
Unaffected
H
Unaffected
Note: Address modes R or IR can be used to specify a 4-bit Working Register. In
this format, the source or destination Working Register operand is speci-
fied by adding 1110b (Eh) to the high nibble of the operand. For example,
Instruction Description
UM001602-0904