beautypg.com

Xorx – Zilog Z8F0130 User Manual

Page 271

background image

eZ8

CPU Core

User Manual

UM012820-0810

XORX Instruction

256

XORX

Definition

Logical Exclusive OR using Extended Addressing.

Syntax

XORX dst, src

Operation

dst

 dst XOR src

Description

For this new eZ8 extended addressing instruction, the source operand is
logically EXCLUSIVE ORed with the destination operand. An XORX
operation stores a 1 in the destination operand when the corresponding
bits in the two operands are different; otherwise it stores a 0. The contents
of the source operand are unaffected.

Flags

C

Unaffected

Z

Set if the result is zero; reset otherwise

S

Set if Bit 7 of the result is set; reset otherwise

V

Reset to 0

D

Unaffected

H

Unaffected