Download Print this page

ZiLOG Z80380 User Manual page 213

Advertisement

Z
ILOG
XOR [A,]src
← A XOR src
Operation:
A
A logical EXCLUSIVE OR operation is performed between the corresponding bits of the
source operand and the accumulator and the result is stored in the accumulator. A 1 bit is
stored wherever the corresponding bits in the two operands are different; otherwise a 0 bit
is stored. The contents of the source are unaffected.
S:
Set if the most significant bit of the result is set; cleared otherwise
Flags:
Z:
Set if all bits of the result are zero; cleared otherwise
H:
Cleared
P:
Set if the parity is even; cleared otherwise
N:
Cleared
C:
Cleared
Addressing
Mode
Syntax
R:
XOR [A,]R
XOR [A,]RX
RX:
IM:
XOR [A,]n
IR:
XOR [A,](HL)
X:
XOR [A,](XY+d)
Field Encodings: r:
per convention
y: 0 for IX, 1 for IY
w: 0 for high byte, 1 for low byte
DC-8297-03
src = R, RX, IM, IR, X
Instruction Format
10101-r-
11y11101 1010110w
11101110 ——n—
10101110
11y11101 10101110 ——d—
EXCLUSIVE OR (BYTE)
Execute
Time
Note
2
2
2
2+r
4+r
I
Z380
U
'
M
SER
S
ANUAL
XOR
5-179

Advertisement

loading
Need help?

Need help?

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

Questions and answers