beautypg.com

Andx – Zilog Z8F0130 User Manual

Page 104

background image

eZ8

CPU Core

User Manual

UM012820-0810

ANDX Instruction

89

ANDX

Definition

Logical AND using Extended Addressing.

Syntax

ANDX dst, src

Operation

dst

 dst AND src

Description

For this new eZ8 extended addressing instruction, the source operand is
ANDed with the destination operand. An AND operation stores a 1 when
the corresponding bits in the two operands are both 1; otherwise this oper-
ation stores a 0. The destination operand stores the result. The contents of
the source operand are unaffected.

Flags

C

Unaffected

Z

Set if the result is zero; reset otherwise

S

Set if the result is negative; reset otherwise

V

Reset to 0

D

Unaffected

H

Unaffected