beautypg.com

Xor a, ir, Operation, Description – Zilog EZ80F916 User Manual

Page 378: Condition bits affected attributes

background image

eZ80

®

CPU

User Manual

UM007715-0415

CPU Instruction Set

369

XOR A, ir

Logical Exclusive OR

Operation

A  A XOR ir

Description

The ir operand is any of the 8-bit registers IXH, IXL, IYH, or IYL. The ir operand is bit-

wise exclusive-ORed with the contents of the accumulator, A. The result is written to the

accumulator.

Condition Bits Affected

Attributes

S

Set if result is negative; reset otherwise.

Z

Set if result is 0; reset otherwise.

H

Reset.

P/V

Set if parity is even; reset otherwise.

N

Reset.

C

Reset.

Mnemonic Operand

ADL Mode Cycle

Opcode (hex)

XOR

A,IXH

X

2

DD, AC

XOR

A,IXL

X

2

DD, AD

XOR

A,IYH

X

2

FD, AC

XOR

A,IYL

X

2

FD, AD

This manual is related to the following products: