ZiLOG Z8 PLUS User Manual page 128

Table of Contents

Advertisement

.75
P
Â
XOR
Logical Exclusive OR
Instruction Format:
XOR dst, src
OPC
OPC
OPC
Operation:
dst ← dst XOR src
The source operand performs a logical EXCLUSIVE ORed operation, which stores a 1 in the destination
operand whenever the corresponding bits in the two operands are different. The destination operand is set to
1; otherwise, a 0 is stored. The contents of the source operand are not changed.
Flags:
When the instruction is executed, the flags are set as follows:
C:
The value set by the preceding instruction.
Z:
1 if the result is 0; otherwise, 0.
S:
1 if bit 7 of the result is 1; otherwise, 0.
V:
0.
D:
The value set by the preceding instruction.
H:
The value set by the preceding instruction.
dst
src
src
dst
OPC (Hex)
B2
B3
B4
dst
B5
B6
src
B7
Address Mode
dst
src
r
r
r
Ir
R
R
R
IR
R
IM
IR
IM

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the Z8 PLUS and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Table of Contents